dbTalk Databases Forums  

Filter on a date working on one PC not not another

comp.databases.ms-access comp.databases.ms-access


Discuss Filter on a date working on one PC not not another in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Allen Browne
 
Posts: n/a

Default Re: Filter on a date working on one PC not not another - 05-29-2010 , 08:43 PM






Regional settings for dates?

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Dennis McDermott" <dennis.mcdermott (AT) gmail (DOT) com> wrote

Quote:
Thanks again Allen,

I used your code and this is the result

VISTA HOME PREMUIM JET VERSION 4.0.9511.0 (filter works as expected
here)

XP PRO JET VERSION JET VERSION 4.0.9511.0 (filter does not work as
expected here, same Jet Version as PC above, so it looks like its
something else that is causing the difference)

WINDOWS 7 JET VERSION 4.0.9756.0 (filter works as expected here)

Dennis

Reply With Quote
  #12  
Old   
Dennis McDermott
 
Posts: n/a

Default Re: Filter on a date working on one PC not not another - 05-31-2010 , 04:40 AM






On 30 May, 02:43, "Allen Browne" <AllenBro... (AT) SeeSig (DOT) invalid> wrote:
Quote:
Regional settings for dates?
Hello Allen, I had said a couple of posts ago that I had checked the
regional settings for dates, however I have just gone and checked them
again, and yes there was a difference (must have had a drink last time
I checked !!), on my main PC that worked as expected the short date
format was dd/MM/yyyy whereas on the other PC where it did not work
the short date format was dd/MM/yy I changed this to dd/MM/yyyy and it
then worked, I then changed it back to confirm that this was the
problem, and strangly I do not now get the error message I was getting
earlier:

"The expression you entered contain invalid syntax"
You may have entered a comma without a preceeding value or
identifier

But it just returns no records, which is to be expected.

Thank you very much for sharing your knowledge, it's much appreciated.

Dennis

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.