I want to open a form, let's call it fSelect, with some optional choices on it. If the operator makes a choice, that choice is saved to a control on the main form, and fSelect is closed.
However, I would like to close fSelect if the operator ignores it and continues to work on the main form.
fSelect cannot be Dialog, i.e. modal, or operator cannot ignore it.
LostFocus for fSelect doesn't seem to fire.
Deactivate fires, but attempts to close the form gets:
In other words, I can't close fSelect while processing the Deactivate event.
How can I close this form (fSelect) if it is opened and displayed, but not used?
However, I would like to close fSelect if the operator ignores it and continues to work on the main form.
fSelect cannot be Dialog, i.e. modal, or operator cannot ignore it.
LostFocus for fSelect doesn't seem to fire.
Deactivate fires, but attempts to close the form gets:
Code:
Run-time error '2585' This action can't be carried out while processing a form or report event.
How can I close this form (fSelect) if it is opened and displayed, but not used?
Comment