Hi
I want to be able to create a dynamic function that returns true/false whether a record exists in a table or not.
I am trying to pass 3 params (tblToSearch,varToSearchFor,fieldName)
tblToSearch = table / query name
varToSearchFor = string or integer etc
fieldName = name of field
It is the name of field I am having problems with as I need to incorporate the ! operator, but cannot get Access to evaluate without generating an error.
Any ideas anyone?
Regards Why did kamikazi pilots wear helmets?
I want to be able to create a dynamic function that returns true/false whether a record exists in a table or not.
I am trying to pass 3 params (tblToSearch,varToSearchFor,fieldName)
tblToSearch = table / query name
varToSearchFor = string or integer etc
fieldName = name of field
It is the name of field I am having problems with as I need to incorporate the ! operator, but cannot get Access to evaluate without generating an error.
Any ideas anyone?
Regards Why did kamikazi pilots wear helmets?