Not sure if this is more of a form question or a table one, but anyway...
In short I'm trying to make a system allowing me to append data in one form to another when the form contains subforms (actually I am trying to do this with several similar forms but lets not confuse things). The problem is each form has data from two tables with a many to one relationship because... for every item in my first table I want to have a variable number of other items. I will use a fictitious example to illustrate what I mean (or confuse people more)
e.g.
John Johnson's hobbies are: 1. Tenis 2. Knitting 3. Hola hopping
Bob Bobson's hobbies are 1. Staring out of windows 2. Go Karting
Eric Bobson's hobbies are... etc....
So in this fictional example I will have 2 forms near identical forms called, 'people I want to hang out with' and 'people who are tall'. Each form is made out of a data from two tables, one for names and one for hobbies. So 2 forms = 4 tables
Now I want to copy data from the 'people who are tall' form including the related data to the 'people I want to hang out with' form in a way that preserves the relationship one to many relationship so when I append the names in one table it will append the hobbies in another.
My attempts to do it so far have failed on the table level and I'm not sure what to do? I think this may be in part because the foreign key will change when you append data and sever the link and also querries from what I can see can use data from multiple tables but only to append to a single table rather than two
I wonder whether (in this example) a way round this would be to keep hobbies for both forms in one table....
but I also think I read on this forum to avoid these table relatioships and use subforms instead which I didnt realise was possible
Anyway if someone can give me pointers I would be over the moon
(I havent even got onto the issue of making a pretty UI for my collegues to append with a single stroke of a button!)
In short I'm trying to make a system allowing me to append data in one form to another when the form contains subforms (actually I am trying to do this with several similar forms but lets not confuse things). The problem is each form has data from two tables with a many to one relationship because... for every item in my first table I want to have a variable number of other items. I will use a fictitious example to illustrate what I mean (or confuse people more)
e.g.
John Johnson's hobbies are: 1. Tenis 2. Knitting 3. Hola hopping
Bob Bobson's hobbies are 1. Staring out of windows 2. Go Karting
Eric Bobson's hobbies are... etc....
So in this fictional example I will have 2 forms near identical forms called, 'people I want to hang out with' and 'people who are tall'. Each form is made out of a data from two tables, one for names and one for hobbies. So 2 forms = 4 tables
Now I want to copy data from the 'people who are tall' form including the related data to the 'people I want to hang out with' form in a way that preserves the relationship one to many relationship so when I append the names in one table it will append the hobbies in another.
My attempts to do it so far have failed on the table level and I'm not sure what to do? I think this may be in part because the foreign key will change when you append data and sever the link and also querries from what I can see can use data from multiple tables but only to append to a single table rather than two
I wonder whether (in this example) a way round this would be to keep hobbies for both forms in one table....

Anyway if someone can give me pointers I would be over the moon
(I havent even got onto the issue of making a pretty UI for my collegues to append with a single stroke of a button!)