I am using the following syntax to filter on a checkbox field:
DoCmd.ApplyFilter , "[Report] = 'Yes'"
I get the following error when the code executes:
Runtime error 2501
You used a VB method but then clicked cancel in a dialog box. (which I haven't done)
Any suggestions?
DoCmd.ApplyFilter , "[Report] = 'Yes'"
I get the following error when the code executes:
Runtime error 2501
You used a VB method but then clicked cancel in a dialog box. (which I haven't done)
Any suggestions?