G
Guest
I have a People form that shows allows editting of info in my People table
(name, email, cellphone, etc.), and a button that allows the user to open the
Volunteer form to show the Volunteer Record for this person.
But I can't create a button to open the Volunteer Form to a new record.
Code that's not working:
stDocName = "Volunteer"
DoCmd.OpenForm stDocName
DoCmd.GoToRecord acDataForm, stDocName, acNewRec
the message I get is "You can't go to the specified record"
I will need to set the value of Volunteer.[People ID] to the value of
People.[People ID] in the new record.
Could someone explain why this isn't working and how to correct?
thanks again, Amanda
(name, email, cellphone, etc.), and a button that allows the user to open the
Volunteer form to show the Volunteer Record for this person.
But I can't create a button to open the Volunteer Form to a new record.
Code that's not working:
stDocName = "Volunteer"
DoCmd.OpenForm stDocName
DoCmd.GoToRecord acDataForm, stDocName, acNewRec
the message I get is "You can't go to the specified record"
I will need to set the value of Volunteer.[People ID] to the value of
People.[People ID] in the new record.
Could someone explain why this isn't working and how to correct?
thanks again, Amanda