Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


multip rows merging in in single record.

multip rows merging in in single record.

multip rows merging in in single record.


in one table, there are below two records in separate lines. I need to get result in single line. Asset code is identical in both lines, rest data different. I want to move 2nd line Trndate and Next qty columns to first line.

Asset code TrnDate Previousqty Nextqty
4042 12.01.2020 06:46:47 603
4042 12.01.2020 09:19:25 600

Please guide, how Can I transform above two separate rows in single line record as per below.

Asset code TrnDate Previousqty TrnDate Nextqty
4042 12.01.2020 06:46:47 603 12.01.2020 09:19:25 600

Note: please click on link given on top for more clarity. Much appreciated in advance.

RE: multip rows merging in in single record.

Use the Next() function. Example Next({Table.Field}). A couple of wrinkles 1) You will both rows in the report for Next() to evaluate properly, but you can conditionally suppress the details section with a formula like:



2) Next() by definition cannot evaluate on the last record of the report, so your formulas using Next should look like this:


Not OnLastRecord

Macola Software Veteran and SAP Business One Consultant on Training Wheels

Check out our Macola tools:


RE: multip rows merging in in single record.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close