Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2005

Tip: Looking for answers? Try searching our database.

Calculate Date Difference and display message box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jbsfe - 31 Dec 2005 11:58 GMT
I have a table used to enter the last date a project was updated.

When updating via a form, I need to compare the new date against the
last date in the record.  If the difference is greater than 14, I need
to display a message box alerting the user.  Secondly, they must then
enter comments in the comment field explaing the varience.

I'm not sure how to get the last value and compare it to the current
value.  

Any help would be greatly appreciated.  

Thank You,

Jimmy
Rick Brandt - 31 Dec 2005 13:57 GMT
> I have a table used to enter the last date a project was updated.
>
[quoted text clipped - 11 lines]
>
> Jimmy

DMax("DateField", "TableName", "Criteria (if needed)")

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.