Date Field Change

jumpingjackjohn

Registered User.
Local time
Today, 17:29
Joined
Feb 4, 2001
Messages
12
In my form i have two fields each one is called datein - dateup.
In my tables i have
format = long date
inputmask = 99:00:00:\>l\t;0;_
default value = Date()
For the two fields, datein & dateup.

This is good for datein.
But as for dateup, when someone opens a customer file, i would like for the date to change to the new date ( todays date ).
is this possible,

please help.


Thank You.
 
You can use the OnDirty event of the Customer form to update the DateUp field when someone changes any info on the form. It's would look like:

Private Sub Form_Dirty(Cancel As Integer)
Me.Dateup = Date()
End Sub

js

[This message has been edited by jstutz (edited 07-09-2001).]
 

Users who are viewing this thread

Back
Top Bottom