on 04-20-2017 3:20 PM
I am creating a report that one field can have more than 1 entry, currently my report is pulling the data in to more than one lines. For tract ID 2 the report has 2 line of data to show both "Unit Names". What I want to do is create a formula to have the multiple fields show up in to one line and have a "," between the 2 different units.
Instead of seeing this
Martin Unit
(New line) Kirk Unit
I need to do this: Martin Unit, Kirk Unit
Thank you in advance,
Matt,
I misunderstood how the records show up.
Modify the formula like so:
WhilePrintingrecords;
stringvar sub;
numbervar x := x + 1;
IF x = 1 THEN
sub:= {DUE_DIL_MASTER_VW.UNIT_NAME}
ELSE( IF NOT ({DUE_DIL_MASTER_VW.UNIT_NAME} IN SPLIT(sub,',')) THEN
sub:=sub&','&{DUE_DIL_MASTER_VW.UNIT_NAME} );
sub
Modify the Rest formula to:
WhilePrintingrecords;
stringvar sub := '';
numbervar x := 0;
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.