Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2007

Tip: Looking for answers? Try searching our database.

Merging data in one field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Allen - 15 Nov 2007 00:59 GMT
i have a record with multiple cities, i am trying to add a field and but all
the cities in one filed . What i have so far only repeats the city???

ID    Name                   City    All_cities
53    Bobby Brown    Atlanta    Atlanta Atlanta
53    Bobby Brown    New York    New York New York
53    Bobby Brown    Louisville    Louisville Louisville
53    Bobby Brown    Miami    Miami Miami

SELECT Table1.ID, [First] & " " & [Last] AS Name, Table1.City, [City] & " "
& [City] AS All_cities
FROM Table1;
Allen Browne - 15 Nov 2007 02:51 GMT
See:
   Return a concatenated list of sub-record values
at:
   http://www.mvps.org/access/modules/mdl0004.htm

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>i have a record with multiple cities, i am trying to add a field and but
>all
[quoted text clipped - 10 lines]
> & [City] AS All_cities
> FROM Table1;
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.