Quantcast
Channel: mahendra's blog
Viewing all articles
Browse latest Browse all 6

How can we romove multiple duplicate rows of data printing under each Print command in SQR Program?

$
0
0

Hi Friends.

Instead of Print command, by using String.So that we can get each and every row one time in either CSV/HTML/XML output format.

Example:
Print $Name(,)
Print $Name (,)
Print $Address2(,)
Print $State (,)
Print $Country(,) /* Use Strings here to remove multiple duplicate rows of data*/
STRING $Name $Address1 $Address2 $State $Country BY ',' INTO $ST1
STRING $N ,............................................................ BY ',' INTO $ST2
STRING $ST1 $ST2 BY ',' INTO $ST3
PRINT $ST3 (+1,1)

Regards,
Mahendra


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images