Hi there,
On my form, the user types in the customers postal code in to a field, clicks the "search address" button.
This in turn runs a macro based on a query that finds the previous customer details and copies them to the latest record on the form (saving much time re-entering existing customers details).
However, If the customers details do not exist on the Db. The macro simply throws up "Copy is not available now...." then display's the macro halt dialog window. Very annoying.
Is there any way to just have a message box stating "No details available"
Any help would be much appreciated.
On my form, the user types in the customers postal code in to a field, clicks the "search address" button.
This in turn runs a macro based on a query that finds the previous customer details and copies them to the latest record on the form (saving much time re-entering existing customers details).
However, If the customers details do not exist on the Db. The macro simply throws up "Copy is not available now...." then display's the macro halt dialog window. Very annoying.
Is there any way to just have a message box stating "No details available"
Any help would be much appreciated.