943,539 Members | Top Members by Rank

Ad:
Mar 15th, 2005
0

Microsoft Access date validation

Expand Post »
Im using the validation rule ">=(Now())" to ensure the date entered in the field is today onwards only. However, this rule does not allow todays date to be entered. How can i get it to accept todays date but not previous dates?

This is part of my a-level coursework, so if you can help me it would be great...

cheers.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005
Mar 15th, 2005
0

Re: Microsoft Access date validation

send me the database?
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Mar 15th, 2005
0

Re: Microsoft Access date validation

i tryed using ">=Now()-1" it works but now when i run a query for todays date it cannot find anything!!! AAAHHH
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005
Mar 16th, 2005
1

Re: Microsoft Access date validation

In Access, VB & Excel today is 38,427 days since Jan 1, 1970. The time becomes the fracation protion, so at the time I'm writing this response it's 38,427.31. Now at 3:30 pm today 38,427.65 you lanuch you application and try to enter data that was for ealier today it won't work because >=now ().

chang your formula to >= int(now()) and it will work fine.
Reputation Points: 47
Solved Threads: 17
Posting Whiz in Training
Tight_Coder_Ex is offline Offline
215 posts
since Feb 2005
Mar 16th, 2005
0

Re: Microsoft Access date validation

Quote originally posted by Tight_Coder_Ex ...

chang your formula to >= int(now()) and it will work fine.
Cheers mate, it works a treat. Ive been struggling with that for ages, thats a great help...
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005
Jun 11th, 2005
0

Re: Microsoft Access date validation

Quote originally posted by NuGG ...
Cheers mate, it works a treat. Ive been struggling with that for ages, thats a great help...
Another great "feature" brought to you by Microsoft :-)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
relawson is offline Offline
12 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: relation of mathematics with computer science
Next Thread in Computer Science Forum Timeline: Help on SAS code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC