Copy previous record

Noreene Patrick

Registered User.
Local time
Today, 03:53
Joined
Jul 18, 2002
Messages
223
On double click event I want to be able to pull in data from the previous field into this current record. Could you please give me an answer?
 
One way, probably not very efficient...

In the After Update event of your field put code like this:
Me![FieldName].Tag = Me![FieldName].Value

In the Double Click Event of the same field put code like this:
If Not (IsNull(Me![FieldName].Tag) Or Me![FieldName].Tag = "") Then
Me![FieldName].Value = Me![FieldName].Tag
End If


Just change FieldName to the name of your field.
HTH
Dave
 
Thank you, oldsoftboss

It worked great!!!!

Noreene
 

Users who are viewing this thread

Back
Top Bottom