J
JMCS
A pop up is called from a main form button, and then populated initially from
the current record. The user can change some of the records data (only)
using the pop up. All working fine. However, I'd like to ensure that the
pop up closes as soon as it loses focus (or deactivates?) so that it does not
allow data to go back to the wrong record. I am just looking for a simple
coding solution, but using the pop up's "On Lost Focus" or "On Deactivate",
events, with code 'DoCmd.Close acform, "Form Name"' or 'DoCmd.Close' is not
working. Inserting "Stop" into the code is not working either.
Any help would be much appreciated.
JMCS
the current record. The user can change some of the records data (only)
using the pop up. All working fine. However, I'd like to ensure that the
pop up closes as soon as it loses focus (or deactivates?) so that it does not
allow data to go back to the wrong record. I am just looking for a simple
coding solution, but using the pop up's "On Lost Focus" or "On Deactivate",
events, with code 'DoCmd.Close acform, "Form Name"' or 'DoCmd.Close' is not
working. Inserting "Stop" into the code is not working either.
Any help would be much appreciated.
JMCS