Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2006, 08:39 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Reply With Quote
  #2 (permalink)  
Old October 24th, 2006, 07:04 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old October 24th, 2006, 07:10 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding Tables/Forms Paula222 Access VBA 1 April 17th, 2006 02:59 PM
merge data in tables-access 2003 megank Access 2 April 5th, 2006 11:31 AM
VC++ .NET 2003 Windows Forms Designer Problem alphatrak General .NET 0 February 15th, 2006 08:44 PM
Data in Word forms in Access Tables HowardB Access VBA 1 January 9th, 2004 09:18 AM
prevention of edit forms/tables damnnono_86 Access 10 November 17th, 2003 12:43 AM



All times are GMT -4. The time now is 12:15 AM.


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