I have a form that I can search for parts in. It's based off of a query that asks you for a part name, then brings up all records with matching part names.
I have a button that says "New Search" with a Requery macro behind it. The problem is that when I hit "Cancel" on the button, I get an Action Failed box.
I have a button that says "New Search" with a Requery macro behind it. The problem is that when I hit "Cancel" on the button, I get an Action Failed box.
Action Failed
Macro Name: New Search
Condition: True
Action Name: Requery
Arguments: [blank]
Any ideas on what to do? I suspect I just need to be able to stop the macro if the query is canceled, but I don't know how best to go about doing this.Macro Name: New Search
Condition: True
Action Name: Requery
Arguments: [blank]