G
Guest
Please help me with the code for a command button to do the following:
My form has a list box of Doctors. I need to pick one, then click a command
button that will open a form, to edit his data. When that form is closed the
list box is updated.
I don't have much code worth showing but here is what works.
Private Sub cmdAddProv_Click()
Dim stDocName As String
????
stDocName = "f_ProviderDetail"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
My form has a list box of Doctors. I need to pick one, then click a command
button that will open a form, to edit his data. When that form is closed the
list box is updated.
I don't have much code worth showing but here is what works.
Private Sub cmdAddProv_Click()
Dim stDocName As String
????
stDocName = "f_ProviderDetail"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub