jagguy
asked on
button add new
In acces 2007 I want to create a form where i scroll through records but the only way to edit or add a new record is to click on a button and go to another form.
How can i link to another form via a button and how can i disable the add new default feature when scrolling through forms?
How can i link to another form via a button and how can i disable the add new default feature when scrolling through forms?
ASKER
can i do this with property click or something without vba code?
Private Sub btnOpenForm_Click()
DoCmd.OpenForm "frmName", acNormal, , , acFormAdd
End Sub
Private Sub btnOpenForm_Click()
DoCmd.OpenForm "frmName", acNormal, , , acFormAdd
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Private Sub btnOpenForm_Click()
DoCmd.OpenForm "frmName", acNormal, , , acFormAdd
End Sub
< how can i disable the add new default feature when scrolling through forms? >
Go to Form property -> Data Tab -> Set Allow Additions to "No"
Sincerely,
Ed