Hello
I need some help.
I had to create a command that combined three sql queries. The results are correct however, now I have duplicates in my crystal report.
See record index
App Type Code Event Date Status Filing date Record Index
App#2 NP MY 20-Oct-05 FLG 20-Oct-05 5,834,488.00
App#2 NP TH 18-Oct-05 FLG 18-Oct-05 5,834,490.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,068.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,078.00
App#4 PCT WO 7-Oct-05 FLG 7-Oct-05 5,925,968.00
App#4 PCT WO no date FAR 7-Oct-05 5,925,968.00
App#5 PCT WO 12-Oct-05 FLG 12-Oct-05 5,928,698.00
App#5 PCT WO 31-Oct-05 FAR 12-Oct-05 5,928,698.00
App#6 NP MY 7-Oct-05 FLG 7-Oct-05 5,852,706.00
App#6 NP TH 7-Oct-05 FLG 7-Oct-05 5,852,708.00
App#7 NP MY 5-Oct-05 FLG 5-Oct-05 5,836,466.00
App#7 NP TH 5-Oct-05 FLG 5-Oct-05 5,836,468.00
App#8 PCT WO 7-Oct-05 FLG 7-Oct-05 5,853,370.00
App#8 PCT WO no date FAR 7-Oct-05 5,853,370.00
I need to suppress the duplicates so that I can display a count for each month.
I need to suppress the following:
If the record index duplicates and the code = WO then suppress the status FAR.
Desired results
App Type Code Event Date Status Filing date Record Index
App#2 NP MY 20-Oct-05 FLG 20-Oct-05 5,834,488.00
App#2 NP TH 18-Oct-05 FLG 18-Oct-05 5,834,490.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,068.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,078.00
App#4 PCT WO 7-Oct-05 FLG 7-Oct-05 5,925,968.00
App#5 PCT WO 12-Oct-05 FLG 12-Oct-05 5,928,698.00
App#6 NP MY 7-Oct-05 FLG 7-Oct-05 5,852,706.00
App#6 NP TH 7-Oct-05 FLG 7-Oct-05 5,852,708.00
App#7 NP MY 5-Oct-05 FLG 5-Oct-05 5,836,466.00
App#7 NP TH 5-Oct-05 FLG 5-Oct-05 5,836,468.00
App#8 PCT WO 7-Oct-05 FLG 7-Oct-05 5,853,370.00
Any suggestions or guidance.
Many Thanks
Cheers
R
I need some help.
I had to create a command that combined three sql queries. The results are correct however, now I have duplicates in my crystal report.
See record index
App Type Code Event Date Status Filing date Record Index
App#2 NP MY 20-Oct-05 FLG 20-Oct-05 5,834,488.00
App#2 NP TH 18-Oct-05 FLG 18-Oct-05 5,834,490.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,068.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,078.00
App#4 PCT WO 7-Oct-05 FLG 7-Oct-05 5,925,968.00
App#4 PCT WO no date FAR 7-Oct-05 5,925,968.00
App#5 PCT WO 12-Oct-05 FLG 12-Oct-05 5,928,698.00
App#5 PCT WO 31-Oct-05 FAR 12-Oct-05 5,928,698.00
App#6 NP MY 7-Oct-05 FLG 7-Oct-05 5,852,706.00
App#6 NP TH 7-Oct-05 FLG 7-Oct-05 5,852,708.00
App#7 NP MY 5-Oct-05 FLG 5-Oct-05 5,836,466.00
App#7 NP TH 5-Oct-05 FLG 5-Oct-05 5,836,468.00
App#8 PCT WO 7-Oct-05 FLG 7-Oct-05 5,853,370.00
App#8 PCT WO no date FAR 7-Oct-05 5,853,370.00
I need to suppress the duplicates so that I can display a count for each month.
I need to suppress the following:
If the record index duplicates and the code = WO then suppress the status FAR.
Desired results
App Type Code Event Date Status Filing date Record Index
App#2 NP MY 20-Oct-05 FLG 20-Oct-05 5,834,488.00
App#2 NP TH 18-Oct-05 FLG 18-Oct-05 5,834,490.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,068.00
App#3 DIV CN 25-Oct-05 FLG 25-Oct-05 5,997,078.00
App#4 PCT WO 7-Oct-05 FLG 7-Oct-05 5,925,968.00
App#5 PCT WO 12-Oct-05 FLG 12-Oct-05 5,928,698.00
App#6 NP MY 7-Oct-05 FLG 7-Oct-05 5,852,706.00
App#6 NP TH 7-Oct-05 FLG 7-Oct-05 5,852,708.00
App#7 NP MY 5-Oct-05 FLG 5-Oct-05 5,836,466.00
App#7 NP TH 5-Oct-05 FLG 5-Oct-05 5,836,468.00
App#8 PCT WO 7-Oct-05 FLG 7-Oct-05 5,853,370.00
Any suggestions or guidance.
Many Thanks
Cheers
R