T
tklambStudent
I have 3 tables. Owner, Pet, and Service. Owner has OID PK; Pet has PID PK,
OID FK; and Service has SID PK, OID FK, and PID FK. Owner is related to Pet
and Services. Pet is related to Services.
The problem I'm having is getting the service table to update properly. If I
create a subform for pet and services and place it in the owner form, then
the owner id will automatically fill in for all three (the form and two
subforms). However, filling in the pet info in the pet subform will not
update the pet id in the service subform.
If I have a form for owner with a button to open a form for pet containing
the service subform, the pet ID will update in the service subform, but the
owner ID will not update in either the pet form or the service subform.
I hope this makes sense. Can someone tell me what I am doing wrong?
OID FK; and Service has SID PK, OID FK, and PID FK. Owner is related to Pet
and Services. Pet is related to Services.
The problem I'm having is getting the service table to update properly. If I
create a subform for pet and services and place it in the owner form, then
the owner id will automatically fill in for all three (the form and two
subforms). However, filling in the pet info in the pet subform will not
update the pet id in the service subform.
If I have a form for owner with a button to open a form for pet containing
the service subform, the pet ID will update in the service subform, but the
owner ID will not update in either the pet form or the service subform.
I hope this makes sense. Can someone tell me what I am doing wrong?