B
bpauley
Hello All,
I have a problem when I close a form. I am getting a popup asking for the
parameters in a query that filters info for a combo box on the form. I am
closing the form with a command button. This is the code behind the command
button.
```````````````````````````````````````````````
Private Sub cmdCloseCurrentfrm_Click()
On Error GoTo Err_cmdCloseCurrentfrm_Click
DoCmd.Close
Exit_cmdCloseCurrentfrm_Click:
Exit Sub
Err_cmdCloseCurrentfrm_Click:
MsgBox Err.Description
Resume Exit_cmdCloseCurrentfrm_Click
End Sub
````````````````````````````````````````````````
If I close the from with the X in the top right corner, I get no popup for
the parameters. Same if I use the close by going to "file", "close".
How do I eliminate the popup from displaying when closing the form?
I have a problem when I close a form. I am getting a popup asking for the
parameters in a query that filters info for a combo box on the form. I am
closing the form with a command button. This is the code behind the command
button.
```````````````````````````````````````````````
Private Sub cmdCloseCurrentfrm_Click()
On Error GoTo Err_cmdCloseCurrentfrm_Click
DoCmd.Close
Exit_cmdCloseCurrentfrm_Click:
Exit Sub
Err_cmdCloseCurrentfrm_Click:
MsgBox Err.Description
Resume Exit_cmdCloseCurrentfrm_Click
End Sub
````````````````````````````````````````````````
If I close the from with the X in the top right corner, I get no popup for
the parameters. Same if I use the close by going to "file", "close".
How do I eliminate the popup from displaying when closing the form?