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 / March 2007

Tip: Looking for answers? Try searching our database.

Full name in Combo Box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ErieAl - 20 Mar 2007 18:11 GMT
I have a combo box on a subform that where I want to display and select a
person's full name.  The underlying query selects the contacts for the
company displayed on the full form.  The "contacts" table that the query
selects from has Last, Middle Initial, First name columns (for sorting
purposes on other forms).  I want the combo box to display the full name in a
"natural" (concatenated) way (not in two columns) and then be able to select
that record to update other fields on the subform.

Any assistance would be greatly appreciated.
Wayne-I-M - 20 Mar 2007 18:24 GMT
CReate a new query with 5 columns  - Sort it by Col 4
Col 1= IDField
Col 2 = 1stname
Col 3 = MiddleName
Col 4 = LastName
Col 5 = Full:[1stname]&" "&[MiddleName]&" "[LastName]

Create a combo based on this query
Set widths 0;0;0;0;3
Bound Column is Col 1

Hope this helps - have fun

Signature

Wayne
Manchester, England.

> I have a combo box on a subform that where I want to display and select a
> person's full name.  The underlying query selects the contacts for the
[quoted text clipped - 5 lines]
>
> Any assistance would be greatly appreciated.
ErieAl - 20 Mar 2007 18:45 GMT
Thank you Wayne-I-M - your answer worked perfectly.  It makes for a very nice
form.  

> CReate a new query with 5 columns  - Sort it by Col 4
> Col 1= IDField
[quoted text clipped - 18 lines]
> >
> > Any assistance would be greatly appreciated.
Wayne-I-M - 20 Mar 2007 18:57 GMT
Glad it worked for you.

Signature

Wayne
Manchester, England.

 
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.