In this case you reference variables built by another formula.
If this doesn't resolve, please provide sample data and expected output rather than text, it's hard to discern your needs from generic questions like this.
Well, first of all....you are not passing Parameters in the CRYSTAL sense of the word. Parameters are user input...here you are just passing a variable value.
There are some syntax errors in your formulas.
First of all, You don't need the variables to be "shared" as you are not passing them to a subreport
Second...I don't use IIF that much....Use of IFF seems right from a VB perspective but can be tricky in Crystal....I will suggest an alternative.
@xSz (this would not be placed on the actual report)
stringvar pSz;
if IsNumeric(pSz) then
(
if (instr(pSz,"." > 0 then
left(pSz,instr(pSz,"."-1)
else
pSz;
)
else
pSz;
*************
I have never used instrrev but I think there is a syntax error in what you wrote
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.