K
Krypton
Hi, I am a little stuck with a form I am designing.
I have a main form which pulls some contact details from two tables
tblAccount and tblContact which are linked by accountID. I then have a
subform which displays a list list of questions from tblQuestion. I have
another subform which needs to put answers into tblAnswer and for each new
record I needs to insert a questionID and accountID.
What I can't work out is how to insert the account id from the current
account record and the question id from the current question record. If i
was doing this with asp or something i would use an insert statement and put
the values in from a select on the account table. access doesnt seem to
work like this however.
anyone got any ideas ?
cheers
Ben
I have a main form which pulls some contact details from two tables
tblAccount and tblContact which are linked by accountID. I then have a
subform which displays a list list of questions from tblQuestion. I have
another subform which needs to put answers into tblAnswer and for each new
record I needs to insert a questionID and accountID.
What I can't work out is how to insert the account id from the current
account record and the question id from the current question record. If i
was doing this with asp or something i would use an insert statement and put
the values in from a select on the account table. access doesnt seem to
work like this however.
anyone got any ideas ?
cheers
Ben