Ray Stantz
Registered User.
- Local time
- Today, 08:39
- Joined
- Nov 16, 2006
- Messages
- 63
Hello All:
I searched the forum but could not find the exact question or answer i was looking for. I have a form named Contract_Profile that is used for data entry, for this example the field name is Contact_Name. Form2 also has a field named Contact_Name that auto populates the value from Form1's Contact_Name using:
The OnCurrent Event in the second form currently will only auto populate the second form's Contact_Name field if the field is currently blank using:
However, because of this configuration the second form's Contact_Name field will not update if i change the value in the first form. I would like the OnCurrent Event in form 2 to check to see if Contact_Name in form1 Value has changed and if so, update Field2 on Form 2.
Hope i explained that right. Any help would be greatly appreciated.
Ray
I searched the forum but could not find the exact question or answer i was looking for. I have a form named Contract_Profile that is used for data entry, for this example the field name is Contact_Name. Form2 also has a field named Contact_Name that auto populates the value from Form1's Contact_Name using:
Code:
=[Forms]![Contract Profile]![Contact Name] (In the second form's field default value)
The OnCurrent Event in the second form currently will only auto populate the second form's Contact_Name field if the field is currently blank using:
Code:
If IsNull(Me![Contact Name]) Or Me.Contact_Name = "" Then
Me![Contact Name] = [Forms]![Contract Profile]![Contact Name]
End If
However, because of this configuration the second form's Contact_Name field will not update if i change the value in the first form. I would like the OnCurrent Event in form 2 to check to see if Contact_Name in form1 Value has changed and if so, update Field2 on Form 2.
Hope i explained that right. Any help would be greatly appreciated.
Ray
Last edited: