This is topic Microsoft Access Questions in forum Officers' Lounge at Flare Sci-Fi Forums.


To visit this topic, use this URL:
https://flare.solareclipse.net/ultimatebb.php/topic/10/930.html

Posted by Saltah'na (Member # 33) on :
 
I'm creating a database for my supervisor in Microsoft Access. What it requires is for dates in certain fields to be in sequential order. What I want to do this is to check if the date in the field I'm entering is "later" than the previous field.

I only found one function that possibly could help me, but I'm having trouble using it.

DateDiff ("d", "FirstDate", "LaterDate")

If FirstDate is earlier than LaterDate, then the resulting expression is greater than zero. Otherwise the result is negative. A possibility is to "trap" the negative result, but I am unsure of how to do it.

Help!!! Thanks.

------------------
I can resist anything.......
Except Temptation
 




© 1999-2024 Charles Capps

Powered by UBB.classic™ 6.7.3