G
Guest
I am trying to use a DLookup statement as the control source for a textbox,
but I only want to use this IF the value of [0830] on the same form is >=2
otherwise, leave the textbox blank.
A hidden textbox holds the PatientID value, it is the [0830] in the
following statement:
=DLast("[LastName] & ', ' & [FirstName]","tblPatients","[PatientID] =" &
[0830])
Any ideas?
Cheers
but I only want to use this IF the value of [0830] on the same form is >=2
otherwise, leave the textbox blank.
A hidden textbox holds the PatientID value, it is the [0830] in the
following statement:
=DLast("[LastName] & ', ' & [FirstName]","tblPatients","[PatientID] =" &
[0830])
Any ideas?
Cheers