Grab primary key and use it in subform (1 Viewer)

Scolton

Registered User.
Local time
Today, 05:27
Joined
Mar 27, 2015
Messages
12
Hello,

I am building a user creation form.
i set it up like the screen shot in the first attachement. 3 different tabs.
In tab 1 you create the user which then gets a unique key (DocentenID).
Table 2 you can input more information about the user (in a different table)
i want it to grab the primary key (DocentenID) and insert that into a field in the other table same goes for tab 3.
Has anybody got a idea how i can realise this.

thanks in advance.
 

Attachments

  • Naamloos.png
    Naamloos.png
    15.5 KB · Views: 65

pbaldy

Wino Moderator
Staff member
Local time
Today, 05:27
Joined
Aug 30, 2003
Messages
36,126
As a general rule, if you use the master/child link properties of the subform control, Access will handle the linking field for you. Sounds like this is such a situation.
 

Users who are viewing this thread

Top Bottom