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

Combine all states into one field

Status
Not open for further replies.

DSburgh

MIS
May 19, 2005
26
0
0
US
[MachineXREF] table contains a field for [State] and [Distributor].

I need to make a query to return the [Distributor] and all the states in a single field. For Example:
DistA: NC,PA,OH
DistB: NC,SC,WV
and so on.

How do I go about this?
 
That module works great. I modified the example code to work where the primary key is a string. Would it be worth adding to the FAQ?

'SELECT FamID,
'Concatenate("SELECT FirstName FROM tblFamMem
'WHERE FamID = """ & [FamID] & """)") as FirstNames
'FROM tblFamily

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top