running a query in a loop

B

Bob Wickham

Steve said:
Bob,



Yay!! A victory for the power of perseverance!



I'm in New Zealand.



Fair enough.



Thought so.



It will help you to be very clear that the format of a date field only
affects the way in which it is displayed, it has no impact at all on the
value stored in the table, which is ultimately what we are working with.



Well, it's actually the number of days since 31 Dec 1899, but apart from
that you'r pretty right. VBA requires dates to be in US format, if they
are expressed as dates, so that's the other way we could have gone, i.e.
to explicitly force the date into mm/dd/yy format. But the method I
suggested just lets it use the actual numerical value of the date data,
which must always be the same regardless of format.
I won't tell anyone that the real brains behind this is a kiwi.
Just kidding.

thanks again.
Bob
 
S

Steve Schapel

Very good, Bob. Actually I'm Australian, grew up in Adelaide. Does
that make it better? <grin>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top