p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Access VBA (http://p2p.wrox.com/forumdisplay.php?f=80)
-   -   Forms and tables in Access 2003 (http://p2p.wrox.com/showthread.php?t=49328)

marclf October 23rd, 2006 08:39 AM

Forms and tables in Access 2003
 
Hi,

Im currently creating a database for the company i work for.. Im a complete novice when it comes to Access, having had barely any experience with it.

Ive found myself in a bit of a pickle! I need to display a series of products that my company use. I have 2 separate tables for this information. InputMedia and OutputMedia (as we copy data from various forms to others) however when i make a form and try to display this information in a combo box i get the InputMediaID values showing instead of the ProductCodes that i want to display. As i scroll through the records the right product codes show, its only when i open the combo box.. HELP! ive been driving myself crazy over this hehe

Regards,

Marc F.


mmcdonal October 24th, 2006 07:04 AM

Hi,

  Use the combo box wizard to create your combo box, and then only select the column(s) you actually want to be displayed. Access will automatically pull and use the PK of the table in the cbo.

   Alternatively, make sure the query behind the combo box is pulling the columns you want, then make sure the column count has the same number of columns, and that they are displayed properly.

Ex:

Column Count: 4
Bound Column: 1
Column Width: 0";1";1";1"

This will display the last three and not the PK, and be bound to the PK.

Does this help?


mmcdonal

marclf October 24th, 2006 07:10 AM

yeah thanks alot mate, thats what i eventually did yesterday some1 on another forum helped me :)



All times are GMT -4. The time now is 05:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.