Access Query Fill Down

kashif.special2005

Active Member
Joined
Oct 26, 2009
Messages
443
Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
I want to create a query like fill down in excel, suppose I enter a date in text0=07/01/2011 and in text2=08/15/2011, now I want to create make-table query that will show date fill down by 1 day increase from 07/01/2011 to 08/15/2011, like below.
<o:p> </o:p>
<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:date Month="7" Day="1" Year="2011">07/01/2011</st1:date>
<st1:date Month="7" Day="2" Year="2011">07/02/2011</st1:date>
<st1:date Month="7" Day="3" Year="2011">07/03/2011</st1:date>
<st1:date Month="7" Day="4" Year="2011">07/04/2011</st1:date>
.
.
.
.
till <st1:date Month="8" Day="15" Year="2011">08/15/2011</st1:date>
<o:p> </o:p>
Thanks,
Kashif. <o:p></o:p>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
1. Why a make table? Why not create a table and then delete the data and refill? Make tables bloat the database file worse than refilling the data.

2. There really isn't a way to get that using just a query (at least that I know about). You would need to do it in conjunction with a function. And you could just use a recordset to iterate through and do it. So the big question is what other fields are going to be in this table?
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top