Skip to Content
author's profile photo Former Member
Former Member

Combining rows where no data exists

Hi all,

I'm fairly new to Crystal reports so forgive me if this is a silly question, but is it possible to combine two rows where data exists in one of them but is null in another. Please see below for example:

The data currently looks like this:

Employee Name || Home Telephone || Work Telephone

John Smith || 01234 xxxxxx || (null)

John Smith || (null) || 07890 xxxxxx

I am trying to achieve the result below with 1 row per person:

Employee Name || Home Telephone || Work Telephone

John Smith || 01234 xxxxxx || 07890 xxxxxx

Any help would be massively appreciated.

Edited by: BoboBarlow on Dec 12, 2011 12:19 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 11:41 AM

    The easiest solution is to group on Employee name, then add maximum summaries of each telephone number to Group header, then suppress details and group footer.

    Ian

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 11:59 AM

    Thanks for your quick response Ian, this has worked perfectly.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.