Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / December 2007

Tip: Looking for answers? Try searching our database.

Combo Box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sharon - 26 Dec 2007 15:02 GMT
Is there a way to have more than one bound column in a combo box?
Klatuu - 26 Dec 2007 15:26 GMT
No.
What is it you are trying to do?  Perhaps we can offer a suggestion.
Signature

Dave Hargis, Microsoft Access MVP

> Is there a way to have more than one bound column in a combo box?
fredg - 26 Dec 2007 16:09 GMT
> Is there a way to have more than one bound column in a combo box?

No.
Now if you tell us why you think you need more than one bound column,
perhaps some one can help with an alternative solution.
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Sharon - 27 Dec 2007 16:22 GMT
Example:
Table: Employee Table  - Field :Employee No    Field: Employee Company
When using the pull down in a form the employee No saves as the bound entry,
but I would also like the employee co from that table to save.  

> > Is there a way to have more than one bound column in a combo box?
>
> No.
> Now if you tell us why you think you need more than one bound column,
> perhaps some one can help with an alternative solution.
fredg - 27 Dec 2007 17:37 GMT
> Example:
> Table: Employee Table  - Field :Employee No    Field: Employee Company
[quoted text clipped - 6 lines]
>> Now if you tell us why you think you need more than one bound column,
>> perhaps some one can help with an alternative solution.

Why? As long as you have saved the Employee Number field, any time you
need to show the Name associated with the number, you could:

1) Use DLookUp() to find the name.
=DLookUp("[EmployeeName]","EmployeeTable","[EmployeeNumber] = " &
[EmployeeNumber])

or..

2) Setting a relationship between the Employee table EmployeeID and
the main table EmployeeID, in a query, simply drag the Name field onto
the grid..

There is no need to store both fields.

Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.