Hi
I have a form that is opened using a query as the filter.
In the OnLoad event I check the recordsetclone.recordcount and if it is zero then pop up a message box to the effect of 'No records found'.
Is there a way to then cancel the form load after the user clicks the message box OK button?
TIA
I have a form that is opened using a query as the filter.
In the OnLoad event I check the recordsetclone.recordcount and if it is zero then pop up a message box to the effect of 'No records found'.
Is there a way to then cancel the form load after the user clicks the message box OK button?
TIA