I'm trying to search and display an record to a form using VBA Coding. here is what i have so far.
tblIV is the name of the table i want to search in, and patientID is an integer variable that i have a value given to it in a different form that is being passed to this form (i know for a fact that the value is being passed correctly).
Code:
DoCmd. SearchForRecord acActiveDataObject, "tblIV", acFirst, patientID
Comment