database+courses+london - combining fields into one
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

resolvedResolved · Low Priority · Version Standard

replyReply Fri 9 Nov 2007, 17:04Delegate Karen said...

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

For upcoming training course dates see: Pricing & availability

replyReply Mon 12 Nov 2007, 17:13Trainer Richard said...

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:

Compact database automoatically

To ensure optimal performance, you should compact and repair your

Open the Access database or Access project that you want Access to compact automatically.
On the Tools menu, click Options.
Click the General tab.
Select the Compact on Close check box.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard