Got a form here that has an exit button...
However, for reasons of performance, when you push the exit button, the form simply gets invisible...
Now, whenever the form is loaded i want a new record added (DoCmd.GoToRecord , , acNewRec). I put it in the Form_Load but of course this code isn't executed when then form is made visible again...
Where to put the code to be executed when visibility is back again...?
However, for reasons of performance, when you push the exit button, the form simply gets invisible...
Now, whenever the form is loaded i want a new record added (DoCmd.GoToRecord , , acNewRec). I put it in the Form_Load but of course this code isn't executed when then form is made visible again...
Where to put the code to be executed when visibility is back again...?
Last edited: