Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

database+courses+london - combining fields into one

Forum home » Delegate support and help forum » Microsoft Access Training and help » database+courses+london - Combining Fields into one row

database+courses+london - Combining Fields into one row

ResolvedVersion Standard

Karen has attended:
Access Intermediate course

Combining Fields into one row

I have created a query with 3 "or" criteria in separate column fields. This has created 3 rows for each item. How can I create a query or report that combines the 3 rows into one row so that the column fields are side by side?
Ie, Convert from:
Column1 Column2 Column3
Row 1a abc
Row 1b def
Row 1c ghi

to

Row 1 abc def ghi

Thanks
Karen

RE: Combining Fields into one row

Hi Karen

Try and use the following function to join the fields together

1. Go to a new field in your query.

2. Type a name for your field in the first row
ie. MyfieldName:


3. Then ADD the fields together as follows
Field1 +" "+Field2+" "+Field3

4. The complete formula looks like this:
MyfieldName:Field1 +" "+Field2+" "+Field3


5. The " " are to insert blank spaces in between the fields. If you want it all joined to gether, justs remove the " ".

This method is similar to the CONTATENATE function in Excel.

Let me know if it works

Regards

Richard

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.