Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combine results from two fields into one

Status
Not open for further replies.
Aug 25, 2010
2
US
I have a report that shows the names of two people

person_1 and person_2.

person_1 always has a record but person_2 does not (person_2 is populated by a formula).

I am trying to create a subreport that shows a list of all of the unique people on the report (so a unique grouping of all person_1 and person_2 listings) but it must do it as one sorted list. I can't find a formula to accoomplish this.

thanks for any help
 
Create a simple SQL Command:

SELECT DISTINCT {PersonField}
FROM {YourTable}

Use an appropriate WHERE clause if applicable.

Software Sales, Training, Implementation and Support for Macola, Synergy, and Crystal Reports. Check out our Macola tools:
 
You need to show us the exact content of the formula {@person_2}. You should also identify the table containing person_1. Right now we can't even tell whether the two are derived from the same field or from separate ones.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top