D
dread
tblBuyers: BuyID (PK), FirstName, LastName
tblModels: ModID (PK), ModelName
tblRooms: RoomID (PK), ModID (FK), RoomName
tblFloors: FloorID (PK), FloorType
tblOrders: OrdID (PK), BuyID (FK), ModID (FK)
tblOrderDetails: OrdDetID (PK), OrdID (FK), BuyID (FK), ModID (FK), RoomID
(FK), FloorID (FK)
(There are many other fields in these tables but I’ve only listed the major
fields I think are relevant to my problem)
I am using tblOrder to store the Buyers and the Models (tblModels) that they
purchase.
I am using tblOrderDetail to store the flooring options (tblFloors) that a
Buyer selects for each Room (tblRooms) in the Model.
Each Model has more than one Room in tblRoom
I have a main form (frmBuyer) for Buyer information.
I have a subform (fsubOrder) (attached to the Buyer form) for Order
information (Models purchased by Buyer).
I have a subform (fsubDetail) (attached to fsubOrder) for Order Detail
information (Flooring Options for each Room in each Model).
My problem is that I want the Order Detail subform (fsubDetail) to
automatically display the list of Rooms associated with the Model(s) that the
Buyer has purchased (from the fsubOrder subform) and everything I have tried
so far does not work. I have tried to use examples given in some of the
messages posted here but none of them have worked. I am using Access 2002.
I have been trying to resolve this for over a week and I’m ready to scream.
Any help would be GREATLY appreciated.
Thank you.
tblModels: ModID (PK), ModelName
tblRooms: RoomID (PK), ModID (FK), RoomName
tblFloors: FloorID (PK), FloorType
tblOrders: OrdID (PK), BuyID (FK), ModID (FK)
tblOrderDetails: OrdDetID (PK), OrdID (FK), BuyID (FK), ModID (FK), RoomID
(FK), FloorID (FK)
(There are many other fields in these tables but I’ve only listed the major
fields I think are relevant to my problem)
I am using tblOrder to store the Buyers and the Models (tblModels) that they
purchase.
I am using tblOrderDetail to store the flooring options (tblFloors) that a
Buyer selects for each Room (tblRooms) in the Model.
Each Model has more than one Room in tblRoom
I have a main form (frmBuyer) for Buyer information.
I have a subform (fsubOrder) (attached to the Buyer form) for Order
information (Models purchased by Buyer).
I have a subform (fsubDetail) (attached to fsubOrder) for Order Detail
information (Flooring Options for each Room in each Model).
My problem is that I want the Order Detail subform (fsubDetail) to
automatically display the list of Rooms associated with the Model(s) that the
Buyer has purchased (from the fsubOrder subform) and everything I have tried
so far does not work. I have tried to use examples given in some of the
messages posted here but none of them have worked. I am using Access 2002.
I have been trying to resolve this for over a week and I’m ready to scream.
Any help would be GREATLY appreciated.
Thank you.