hrdpgajjar
Registered User.
- Local time
- Today, 06:55
- Joined
- Sep 24, 2019
- Messages
- 91
HI all,
I have data entry form of client details entry.
In this form there are two text boxes 1. Client name (Farmer Name) 2. client city
This is a data entry form so when i click on save button all boxes will become empty for the new data entry. So to avoid duplicate entries, i have created a text box with lock properties to display my last entered client name.
to do this i have entered following code in "After Update" event of my client name text box
Every thing works fine, but when i save the record my form does not move to next empty record entry. (to enter new record) it stays the same.
How to solve this ?
Thanks
I have data entry form of client details entry.
In this form there are two text boxes 1. Client name (Farmer Name) 2. client city
This is a data entry form so when i click on save button all boxes will become empty for the new data entry. So to avoid duplicate entries, i have created a text box with lock properties to display my last entered client name.
to do this i have entered following code in "After Update" event of my client name text box
Code:
If Not IsNull(Me.Farmernametxt.Value) Then
Previousentrytxt.DefaultValue = """" & Me.Farmernametxt.Value & """"
End If
Every thing works fine, but when i save the record my form does not move to next empty record entry. (to enter new record) it stays the same.
How to solve this ?
Thanks