Hi Access Date Problem (> Now +7 Days And < Now +2 Months)

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Nov 2005
Posts: 4
Reputation: mrnath is an unknown quantity at this point 
Solved Threads: 0
mrnath mrnath is offline Offline
Newbie Poster

Hi Access Date Problem (> Now +7 Days And < Now +2 Months)

 
0
  #1
Nov 14th, 2005
Im currently using Access 2000 when at home and Access 2002 when at college.

I want to create a date validation that allows only dates

> Now +7 Days And < Now +2 Months

At the current moment i have.

>(Int(Now()))+7 Which will only allow date entrys to be entered if they are 1 week from today. But im having trouble with the 2 month part. I want it to be more accurate than 62 days i want it in months.

Currently neither access have EDATE function. All and Any help is welcome.. Thanks

Nathan
Reply With Quote Quick reply to this message  
Join Date: Nov 2005
Posts: 4
Reputation: mrnath is an unknown quantity at this point 
Solved Threads: 0
mrnath mrnath is offline Offline
Newbie Poster

Re: Hi Access Date Problem (> Now +7 Days And < Now +2 Months)

 
0
  #2
Nov 14th, 2005
Ok, a very kind person helped me with this already you know who you are and thanks

If you are also suffering the same type of problem.

DateAdd ("m",2,int(now())) you can substitute M for Weeks, Hours, Minutes, Years, Months.. GL!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC