I have a macro that runs looking for patient_ID where it is equal to medrec on a dataentry form.
Functioning code follows
DLookUp("[SS_PATIENT_ID]","dbo_demographics","[Patient_id] = " & ' [Forms]![frmdataentry]![medrec]')
The admin responsible for dbo_demographics changed the length from 6 to 13 padding with preceeding zeroes, and data entry folks are asking to be able to put in non-zero values
I cant get the syntax correct using
'format([Forms]![frmdataentry]![medrec]', "0000000000000")
Any help appreciated
Thanks
Mark
Functioning code follows
DLookUp("[SS_PATIENT_ID]","dbo_demographics","[Patient_id] = " & ' [Forms]![frmdataentry]![medrec]')
The admin responsible for dbo_demographics changed the length from 6 to 13 padding with preceeding zeroes, and data entry folks are asking to be able to put in non-zero values
I cant get the syntax correct using
'format([Forms]![frmdataentry]![medrec]', "0000000000000")
Any help appreciated
Thanks
Mark