I am trying to implement a dlookup command from the on enter event
The form name is frmServiceCalls
The Table name is tblAQM1data that I am getting the data from
The name of the of the text box on the form if txtSerialNumber
I am trying to populate a textbox called txtHospitalname on the form frmServiceCalls
I am not getting a error but the textbox hospitalname is not populating
I am using the following code
The form name is frmServiceCalls
The Table name is tblAQM1data that I am getting the data from
The name of the of the text box on the form if txtSerialNumber
I am trying to populate a textbox called txtHospitalname on the form frmServiceCalls
I am not getting a error but the textbox hospitalname is not populating
I am using the following code
Code:
variable = DLookup("txtHospitalName", "TblAQM1Data", "[txtSerialNumber]=Forms![frmServiceCalls]!.[SerialNumber]")
[Code]