I have a main form that opens another in acDialog mode in order to get two input pieces of data for use in a subsequent Action query.
In order to keep these two pieces of data availble rather than closing the "acDialog" form, I have a button to hide it [ me.visible = false ]
However, when the OK button is pressed on the acDialog form, nothing happens but when you press it it a second time, the rest of the code from the initial form runs and so does my Action query. End result purrfect BUT ...
Why do I have to press the button on the acDialog form twice in order for the main form's code to continue? Its bugging me. Thanks
In order to keep these two pieces of data availble rather than closing the "acDialog" form, I have a button to hide it [ me.visible = false ]
However, when the OK button is pressed on the acDialog form, nothing happens but when you press it it a second time, the rest of the code from the initial form runs and so does my Action query. End result purrfect BUT ...
Why do I have to press the button on the acDialog form twice in order for the main form's code to continue? Its bugging me. Thanks