theKruser
Registered User.
- Local time
- Today, 15:53
- Joined
- Aug 6, 2008
- Messages
- 122
I have a subform that containes a combo box which is bound to a table other than the table the subform was created using. Not sure if that makes sense so:
tblPERSONNEL
tblPOSITION
qryPERSONNEL
-NAME
-EMPL#
-POSTITION
subPERSONNEL (based off query to return only personnel in certain departments)
-NAME
-EMPL#
-POSITION (combo box)
Here is my dilemma...I want the combo box to pull positions from tblPOSITION and display actual position name (not the PK) sorted by the PK value. In the properties I set bound column to 2 (position name is in column 2 as I look at the table view), but no matter what it only returns the PK.
The subform is in datasheet view, as this is how it must be for accurate data input as applied to my situation. I could easily just create another tbl with just the position names in the order I want them to appear and point the combo box to that, but then I have duplicated data and updating becomes a two step process if a position title changes (as the often do!).
Any help would be greatly appreciated. Thank you for your time.
tblPERSONNEL
tblPOSITION
qryPERSONNEL
-NAME
-EMPL#
-POSTITION
subPERSONNEL (based off query to return only personnel in certain departments)
-NAME
-EMPL#
-POSITION (combo box)
Here is my dilemma...I want the combo box to pull positions from tblPOSITION and display actual position name (not the PK) sorted by the PK value. In the properties I set bound column to 2 (position name is in column 2 as I look at the table view), but no matter what it only returns the PK.
The subform is in datasheet view, as this is how it must be for accurate data input as applied to my situation. I could easily just create another tbl with just the position names in the order I want them to appear and point the combo box to that, but then I have duplicated data and updating becomes a two step process if a position title changes (as the often do!).
Any help would be greatly appreciated. Thank you for your time.