D
D. Stacy
Trying to write a function that takes the criteria from a text field on a
form. Current structure is not working:
Public Function FindGPCI_Work()
' take tblGPCI.ID value from Form frmLocalitySelect
' lookup integer value in tblGPCI.Work_GPCI
CurrentWork_GPCI = DLookup("Work_GPCI", "tblGPCI", "[ID] = " &
"frmLocalitySelect!txtLocality_ID")
End Function
Help!
form. Current structure is not working:
Public Function FindGPCI_Work()
' take tblGPCI.ID value from Form frmLocalitySelect
' lookup integer value in tblGPCI.Work_GPCI
CurrentWork_GPCI = DLookup("Work_GPCI", "tblGPCI", "[ID] = " &
"frmLocalitySelect!txtLocality_ID")
End Function
Help!