Flare Sci-fi Forums
Flare Sci-Fi Forums Post New Topic  New Poll  Post A Reply
my profile | directory login | search | faq | forum home

  next oldest topic   next newest topic
» Flare Sci-Fi Forums » Community » Officers' Lounge » Microsoft Access Questions

   
Author Topic: Microsoft Access Questions
Saltah'na
Chinese Canadian, or 75% Commie Bastard.
Member # 33

 - posted      Profile for Saltah'na     Send New Private Message       Edit/Delete Post   Reply With Quote 
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


Registered: Mar 1999  |  IP: Logged
   

Quick Reply
Message:

HTML is enabled.
UBB Code™ is enabled.

Instant Graemlins
   


Post New Topic  New Poll  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


© 1999-2024 Charles Capps

Powered by UBB.classic™ 6.7.3