Connecting Tech Pros Worldwide Help | Site Map

Calculate Date Difference and display message box

 
LinkBack Thread Tools Search this Thread
  #1  
Old December 31st, 2005, 11:05 AM
jbsfe
Guest
 
Posts: n/a
Default Calculate Date Difference and display message box

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


  #2  
Old December 31st, 2005, 01:05 PM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Calculate Date Difference and display message box

jbsfe wrote:[color=blue]
> 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[/color]

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

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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.