F
fb
I have recently started programming Access VBA and my goal is to create one
table that relates to a second table. the first table will contain a record
specifying a company and the second one will be linked to contain
responsible persons with their address,.....
My goal is to enter the company using a form and, if there will be a new
responsible partner click a button to open a second f orm for the second
table to enter all the new persons there. This would work, except that I
have not yet found out how to pass on the primary key from my 1st table e.g.
to the second table so I can generate a relationship without having to type
in the number.
I have tried to understand the pass on forms discussion in this newsgroup,
but failed.
My other problem is, in theory I thought I might access the databae as
tabledef fields and thought I would then get the value, but I have not even
succeeded to run the VBA help examples.
Any help would be kindly appreciated and is badly needed
table that relates to a second table. the first table will contain a record
specifying a company and the second one will be linked to contain
responsible persons with their address,.....
My goal is to enter the company using a form and, if there will be a new
responsible partner click a button to open a second f orm for the second
table to enter all the new persons there. This would work, except that I
have not yet found out how to pass on the primary key from my 1st table e.g.
to the second table so I can generate a relationship without having to type
in the number.
I have tried to understand the pass on forms discussion in this newsgroup,
but failed.
My other problem is, in theory I thought I might access the databae as
tabledef fields and thought I would then get the value, but I have not even
succeeded to run the VBA help examples.
Any help would be kindly appreciated and is badly needed