Info from two columns in a third

capsula4

Registered User.
Local time
Yesterday, 23:51
Joined
Jan 3, 2008
Messages
122
Hi!

Say I have a table/qry:
ID | VARIETY | PRODUCT
1 | Fresh White | Garlic
2 | Fres Valencianita | Onion

Is therey a way to merge variety and product? Cause I want to make an invoice description with a text that can be made out merging fields of a same table/qry.

Sth like the following:
"[QUANTITY] of [VARIETY] [PRODUCT] from [COUNTRY], size: [SIZE]...."

I saw a topic about listing items horizontally but I think it was kinda different from what I wanted, specially cause involved more than one table.
 
Code:
SELECT [Quantity] & " of " & [Variety] & " " & [Product] & " from "  & [Country] & " size: " & [SIZE]
FROM table_name
 
Thank you a lot chergh!!! :D:D:D
 

Users who are viewing this thread

Back
Top Bottom