Greetings.
I am trying to use a combo box on a form (frmItem from tblItem) to find records for viewing/editing. The information appears in the combo box and it finds the correct record, but the fields "ITYPEID" and the "MODELID" are displayed as numbers.
The way I set it up the "Find Record" Combo Box on the frmItem is:
tblItem.ITEMID = PrimaryKey autonumber from "tblItem"
tblItem.ITYPEID = ForiegnKey pulled from Table "tblItemType"
SELECT DISTINCTROW [tblItemType.ITYPEID], [tblItemType.ItemType] FROM [tblItemType] ORDER BY [tblItemType.ItemType];
tblItem.IMODELID = ForiegnKey pulled from Table "tblItemModel"
SELECT DISTINCTROW [tblItemModel.IMODELID], [tblItemModel.ItemModel] FROM [tblItemModel] ORDER BY [tblItemType.ItemType];
tblItem.ItemSerialNum
In the Combo Box for the Row Source is:
SELECT [tblItem].[ITEMID], [tblItem].[ITYPEID] &" / "& [tblItem].[IMODELID], [tblItem].[ItemSerialNum] FROM tblItem;
Row Source Type = Table/Query
Column Count = 3
Column Widths = 0";3";1"
Bound Column = 1
An EXAMPLE of what I get displayed in the "FInd Record" Combo Box is:
ITEM | SERIAL #
22 / 39 | 33491000
33 / 76 | 77622134 etc...
How do I get the "ItemType" & "ItemModel" to display vice their respective PrimaryKeys?
Thanks
I am trying to use a combo box on a form (frmItem from tblItem) to find records for viewing/editing. The information appears in the combo box and it finds the correct record, but the fields "ITYPEID" and the "MODELID" are displayed as numbers.
The way I set it up the "Find Record" Combo Box on the frmItem is:
tblItem.ITEMID = PrimaryKey autonumber from "tblItem"
tblItem.ITYPEID = ForiegnKey pulled from Table "tblItemType"
SELECT DISTINCTROW [tblItemType.ITYPEID], [tblItemType.ItemType] FROM [tblItemType] ORDER BY [tblItemType.ItemType];
tblItem.IMODELID = ForiegnKey pulled from Table "tblItemModel"
SELECT DISTINCTROW [tblItemModel.IMODELID], [tblItemModel.ItemModel] FROM [tblItemModel] ORDER BY [tblItemType.ItemType];
tblItem.ItemSerialNum
In the Combo Box for the Row Source is:
SELECT [tblItem].[ITEMID], [tblItem].[ITYPEID] &" / "& [tblItem].[IMODELID], [tblItem].[ItemSerialNum] FROM tblItem;
Row Source Type = Table/Query
Column Count = 3
Column Widths = 0";3";1"
Bound Column = 1
An EXAMPLE of what I get displayed in the "FInd Record" Combo Box is:
ITEM | SERIAL #
22 / 39 | 33491000
33 / 76 | 77622134 etc...
How do I get the "ItemType" & "ItemModel" to display vice their respective PrimaryKeys?
Thanks