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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -