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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to merge two columns into a report

Status
Not open for further replies.

soklear

IS-IT--Management
Jan 13, 2004
38
US
Hi. I have a report column that requires two merged columns from the same table. How would I accomplish this?
When I try a union query and place it as the control source of the column in the report, it doesnt work.

Thanks,

Bob

 
A simple example, assuming your table has fields named "FirstName" and "LastName", you could either have the query use:
SELECT [firstname] & " " & [lastname] AS FullName
FROM Contacts;

or
SELECT [lastname] & ", " & [firstname] AS FullName
FROM Contacts;


Learn from the mistakes of others. You won't live long enough to make all of them yourself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top