Abhilash,
I failed to mention that I'm a CR noob and have only modified reports that were previously built by someone else. This is my first time creating one from scratch.
I appreciate your reply but that doesn't really seem to work. I used the Cross Tab report wizard with your suggested format and the formatting was a mess and not all on one line
I was able to get the records all on the same line by adding a group and then moving all of the detail fields to that group and then suppressed the details field. I created a formula for each payor field...
Payor 1
If {PAT_CVG_FILE_ORDER.LINE} = 1
THEN {V_COVERAGE_PAYOR_PLAN.PAYOR_NAME}
Payor 2
If {PAT_CVG_FILE_ORDER.LINE} = 2
THEN {V_COVERAGE_PAYOR_PLAN.PAYOR_NAME}
Payor 3
If {PAT_CVG_FILE_ORDER.LINE} = 3
THEN {V_COVERAGE_PAYOR_PLAN.PAYOR_NAME}
Then I created three more formulas for each payor field in the record...
MaxPayor1
Maximum ({@Payor 1})
MaxPayor2
Maximum ({@Payor 2})
MaxPayor3
Maximum ({@Payor 3})
This moved all three payer fields to one row / record but now the values for the MaxPayor formulas are fixed and do not change for each record.
Any ideas how I get these Formulas to reset when they're all in the same group? I tried resetting the MaxPayor formula by adding...
shared stringvar MaxPayor1:=""
But that didn't seem to reset the value. Not sure if I should be declaring MaxPayor as a global variable or how I should do it. Any ideas how I get these Formulas to reset for each record when they're all in the same group?