View Single Post
  #4  
Old July 9th, 2008, 08:05 PM posted to microsoft.public.access.queries
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Concatenate in a query - Access 2003

Do you want to combine multiple related records into a single expression? If
so, you should reply with table/field names as well as data types and sample
records.

--
Duane Hookom
Microsoft Access MVP


"Judi" wrote:

I did that, and now it is asking for the names in the parameters. I already
have dates as perameters.

"PhilT via AccessMonster.com" wrote:

Judi,

Let assume the table has [lastname] fieldname and [firstname] field name
separately as you indicated. From Query you need create a new field name,
right click in field name and select build. Type [name]:[tablename]!
[firstname] & " " & [tablename]![lastname] to display firstname and lastname
or vice versa.

Judi wrote:
I have a table which refers to two groups of salesmen, District Managers and
Sales Service Managers. DM's are over SSM's and both are referred to in the
table.

The table only holds codes for each salesman which then refers to another
table which holds all salesmen's info. This table seperates first name from
last name.

I need to create a query that refers to a lot of different information,
including the DM and SSM for each job. Is there a way, in the main query to
concatenate the names of each so that the names will show up in one field in
the main query results?

I am sorry for the long explanation, but I am relatively new to Access.

Thank you for any help you can give me. I know next to nothing about VB or
macros, so please try to keep it simple. You can feel free to talk to me like
a child.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/200807/1