How to append a character in Crystal Report? -
i using cr version 13.0.2.000.i want display following record
1,2,5,10,50,100
in following way
$1 $2 $5 $10 $50 $100
i have tried replace method , show data columnwise dont know how append $
sign before starting of each element
the formula tried given below
replace({table7.value},",",chrw(10))
keep in mind won't able use formula 'manufacture' rows; need done @ database.
if want change display, try:
// {@display} local stringvar crlf := chr(10)+chr(13); // convert values array; 1,2,5,10,50,100 stringvar array tokens := split({table7.value}, ","); // join array "$" + join( tokens, crlf + "$");
if need tally array, try:
// {@aggregate} local numbervar i; local numbervar x; // tally := 1 ubound(tokens) ( x := x + tonumber(tokens[i]); ); // display x
Comments
Post a Comment