dbTalk Databases Forums  

dates alter unexpectedly

comp.database.ms-access comp.database.ms-access


Discuss dates alter unexpectedly in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ad van den Ende
 
Posts: n/a

Default dates alter unexpectedly - 09-17-2003 , 03:00 PM






Hello,

Something is puzzeling me for some time.
In a form the filter property is set with VBA to something like:
me.filter = "[DateA] > #1-1-03# and [DateA] < #31-1-03#

The properties of the form show this string, so this should work OK.
The form however is not filtered right.
When I look at the "filter by form" screen it shows for field [DateA]:
Quote:
#1-1-2003# And <#3-1-1931#
As you may gather, I use the european format for dates.
What I don't understand is that de string is interpreted in a US way.
How can I convert the dates, or convince Acces of my view?

Appeciate your help
Adrian




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.