The "add new record" button

  • Thread starter Thread starter Sport
  • Start date Start date
S

Sport

I have a std form and I need to put a bit of code with the add new record to
do some form clean up, but do not know where exactly to put it. Is it that
the form is reloading at that point, in which case I could put it in that
event?
 
I have a std form and I need to put a bit of code with the add new record to
do some form clean up, but do not know where exactly to put it. Is it that
the form is reloading at that point, in which case I could put it in that
event?

If I understand you correctly, you want to execute some code when the
form moves to the "New Record". If so, use the Form's Current event
with a line

If Me.NewRecord Then
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top