I have a modal & popup form bound to a table to allow me to choose data from the table.
Sub Form load sets Me.Recordsource to Me.OpenArgs, which is the query passed in.
A double click event for the required field handles the data and ends with code "DoCmd.Close"
Everything works as intended except when Form is closed by the X in top right corner.
Then it takes a second or two for the Form to close and refresh the screen underneath. (This does not happen when the double click event fires, instead of via "X").
Any idea why? Can I avoid that screen refresh delay?
Sub Form load sets Me.Recordsource to Me.OpenArgs, which is the query passed in.
A double click event for the required field handles the data and ends with code "DoCmd.Close"
Everything works as intended except when Form is closed by the X in top right corner.
Then it takes a second or two for the Form to close and refresh the screen underneath. (This does not happen when the double click event fires, instead of via "X").
Any idea why? Can I avoid that screen refresh delay?