Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a combo box that holds the value of 2 fields

Status
Not open for further replies.

dj662003

Technical User
Dec 4, 2003
18
0
0
US
In my consumer information table there are 3 fields for each individual consumers name, I.E. - "Field 1 = first name,Field 2= middle name, Field 3= last name.
I want my combo box to hold all of my customers first and last names. I appreciate any help that is offered
 
How are ya dj662003 . . . . .

Have a look into [blue]Union Queries[/blue] . . . . .

Calvin.gif
See Ya! . . . . . .
 
DJ

Are you looking for...
[tt]
Select FirstName & " " & Nz(MiddleName, "") & " " & LastName AS CustomerContact From ....
[/tt]


I used Nz(MiddleName, "") in case you have names without middle names.

Richard
 
dj662003 . . . . .

I did'nt read you post correctly. You do not need Union Query. In fact, [blue]willir[/blue] is right on target.

Haaaaay willir! I think I got [blue]Post Hypnosis[/blue] on this one! :)

Calvin.gif
See Ya! . . . . . .
 
AceMan With all your bubbly cheer, there is no need to appologize. This is an easy one -- I got one of "those ones" at
Driving me nuts

Oh well.
 
Thank you both for the response but, I am not familiar with code. is there any chance that you could translate that for me?
 
dj662003 . . . . .

Have you ever made a query?

This helps to determine what to explain . . .

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top