D
David Brown
I have a form where users record information about customer visits. The data
entry begins with a combo box that lists the various store locations. The
user sees the name of the store but it is actually the unique site key that
gets recorded in the customer visit table. All of that is fine but the users
also want the ability to edit past visits. I use a command button with the
following code to do that:
Private Sub cmdEditVisits_Click()
Me.Refresh
Me.DataEntry = False
Me.NavigationButtons = True
Me.FilterOn = False
Me.AllowAdditions = False
End Sub
The text boxes display the data for each entry just like they should.
However, that first combo box stays blank and never shows the store location
for each record. Even if I hid the combo box and displayed a text box, it
would probably show the site key and not the name. How can I display the
name of the store?
Thanks,
David Brown
entry begins with a combo box that lists the various store locations. The
user sees the name of the store but it is actually the unique site key that
gets recorded in the customer visit table. All of that is fine but the users
also want the ability to edit past visits. I use a command button with the
following code to do that:
Private Sub cmdEditVisits_Click()
Me.Refresh
Me.DataEntry = False
Me.NavigationButtons = True
Me.FilterOn = False
Me.AllowAdditions = False
End Sub
The text boxes display the data for each entry just like they should.
However, that first combo box stays blank and never shows the store location
for each record. Even if I hid the combo box and displayed a text box, it
would probably show the site key and not the name. How can I display the
name of the store?
Thanks,
David Brown