Hi all,
I have the following working line of code (Running once a button is pressed in a form)
DoCmd.ApplyFilter , "[Site Location] = 'Site A'"
However I now need to modify this to search for the text in two fields, both Site Location and Site Location2, to return results if it is found in either field.
Any help greatly appreciated, as I have tried various ideas and it either returns all records or no records.
Cheers,
I have the following working line of code (Running once a button is pressed in a form)
DoCmd.ApplyFilter , "[Site Location] = 'Site A'"
However I now need to modify this to search for the text in two fields, both Site Location and Site Location2, to return results if it is found in either field.
Any help greatly appreciated, as I have tried various ideas and it either returns all records or no records.
Cheers,