Command Button with New Record Only

  • Thread starter Thread starter RHartwick
  • Start date Start date
RHartwick said:
How can I make a command button visible with a new record only?


You could use an event procedure like this for the form's Current event:

Private Sub Form_Current()

Me!cmdMyButton.Visible = Me.NewRecord

End Sub

You must substitute the name of your command button for "cmdMyButton" above.
 

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