I have four tables: (all information consolidated into one table named tblAll
TblHouse
House_ID
House_Descr
House_Type
Image_Loc
Loc_ID
Combo_ID
TblLoc
Loc_ID
Location
House_ID
TblOwner
Owner_ID
Owner_Name
Owner_Addr
House_ID
TblCombo
Combo_ID
Combo_Name
House_ID
Loc_ID
Owner_ID
SELECT tblAll.HOUSE_DESCR, tblAll.House_ID, tblAll.House_Type, tblAll.Image_Loc, tblAll.Location, tblAll.Owner_ID, tblAll.Owner_Name, tblAll.Owner_Addr
FROM tblAll
WHERE (((tblAll.COMBO_ID)=[Forms]![frmDocView]![cmboChoice]));
The problem I am having is that the result only displays one house_type per owner and one location – it should display multiple locations and owners per house_type – provided the house has been owned by more than one person.
The SQL is wrong, but where? Help!
TblHouse
House_ID
House_Descr
House_Type
Image_Loc
Loc_ID
Combo_ID
TblLoc
Loc_ID
Location
House_ID
TblOwner
Owner_ID
Owner_Name
Owner_Addr
House_ID
TblCombo
Combo_ID
Combo_Name
House_ID
Loc_ID
Owner_ID
SELECT tblAll.HOUSE_DESCR, tblAll.House_ID, tblAll.House_Type, tblAll.Image_Loc, tblAll.Location, tblAll.Owner_ID, tblAll.Owner_Name, tblAll.Owner_Addr
FROM tblAll
WHERE (((tblAll.COMBO_ID)=[Forms]![frmDocView]![cmboChoice]));
The problem I am having is that the result only displays one house_type per owner and one location – it should display multiple locations and owners per house_type – provided the house has been owned by more than one person.
The SQL is wrong, but where? Help!