Multiple Form and Updating (1 Viewer)

JudyHNM

Registered User.
Local time
Today, 08:07
Joined
Oct 5, 2006
Messages
37
I have a main form where I enter membership information. I then click on a command button to go to another form to enter the actual member detail. When I exit the member detail form, it works fine IF the record was previously existing in the membership info database. If it's a new record in the membership info form, then, (even thought the correct index number shows up on the member detail form), it won't let me save the member detail information. I get a message that says it can't save the member detail without having an entry in the member info database. What can I do to force that entry in the member info database?

Thanks, Judy
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 07:07
Joined
Aug 30, 2003
Messages
36,127
Try this to save the record before going to the detail form:

DoCmd.RunCommand acCmdSaveRecord
 

JudyHNM

Registered User.
Local time
Today, 08:07
Joined
Oct 5, 2006
Messages
37
Thank you so much. That worked perfectly.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 07:07
Joined
Aug 30, 2003
Messages
36,127
No problem, Judy. Glad it worked for you.
 

Users who are viewing this thread

Top Bottom