I'm embarrassed to even ask this question because it seems like such a simple thing. But, here it is …
What is the code to make a form unload itself?
I have a form with a number of controls and buttons on it. When the user clicks the button ‘A’, I want the form to close itself. I’ve tried using the “Unload” statement, but Access 2002 doesn’t like it. I get a #361 run-time error.
Expand|Select|Wrap|Line Numbers
- Private Sub Button_A_Click()
- Unload Me
- Exit Sub
Humbly,
Scott