E
Erin Freeman
ok,
so my query is this
I have a work order table which has a one to many relationship with an
accommodations table and a one to one relationship with a staff table
This tell me that I have 1 work order and that work order can have many
accommodations but only one staff member.
Now what i need to be able to do is have 3 drop down combo boxes on my work
order form allowing me to choose 3 different accommodations for that one work
order for that one nurse where all of the information for the accommodations
come from the accommodations table.
I will also have fields that are specific to the work order regarding the
specific accommodations such as what we are going to charge for that hotel
room on that work order
I am just not sure how to have 3 accommodations based on one lookup table so
i dont have to have 3 identical tables....
I would like to choose accommodation 1 from a drop down and it autofill the
rest of the fields based on that. and so on for accommodations 2 and
accommodations 3.
Aside from having:
Acc1ID
Acc1Name
Acc1Address
Acc2ID
Acc2Name
Acc2Address
Acc3ID
Acc3Name
Acc3Address
I am not sure how to do it since the Accommodations table has about 20 fields
My ID's are as follows
Work Order Table - Work Order ID
Accommodations - Accommodations ID
Staff - Staff ID
so my query is this
I have a work order table which has a one to many relationship with an
accommodations table and a one to one relationship with a staff table
This tell me that I have 1 work order and that work order can have many
accommodations but only one staff member.
Now what i need to be able to do is have 3 drop down combo boxes on my work
order form allowing me to choose 3 different accommodations for that one work
order for that one nurse where all of the information for the accommodations
come from the accommodations table.
I will also have fields that are specific to the work order regarding the
specific accommodations such as what we are going to charge for that hotel
room on that work order
I am just not sure how to have 3 accommodations based on one lookup table so
i dont have to have 3 identical tables....
I would like to choose accommodation 1 from a drop down and it autofill the
rest of the fields based on that. and so on for accommodations 2 and
accommodations 3.
Aside from having:
Acc1ID
Acc1Name
Acc1Address
Acc2ID
Acc2Name
Acc2Address
Acc3ID
Acc3Name
Acc3Address
I am not sure how to do it since the Accommodations table has about 20 fields
My ID's are as follows
Work Order Table - Work Order ID
Accommodations - Accommodations ID
Staff - Staff ID