I have an applicaiton that uses a query to create a file using the following structure
DoCmd.OpenQuery "QueryName", acnormal,acedit
The module is called from the switchboard using a macro. Whenver the module is called in this way it opens in debug mode and the user has to press F5 for the module to run. Once F5 is presed the module builds the file without problem. Why is the module opening in debug mode and how can I keep this from occuring so that the Application requires no user intervention.
DoCmd.OpenQuery "QueryName", acnormal,acedit
The module is called from the switchboard using a macro. Whenver the module is called in this way it opens in debug mode and the user has to press F5 for the module to run. Once F5 is presed the module builds the file without problem. Why is the module opening in debug mode and how can I keep this from occuring so that the Application requires no user intervention.