By default, I beleive that any variables declared in Crystal are considered "Global" in scope, meaning they are accessible anywhere in the main report. So I should be able to decalre a global vairable in one formula, and another fourmula will be able to use the contents placed in the variable by the first formula.
What I don't understand is why I have to redeclare a variable I specify as Global in any other formulas I want to use said variable. If I don't declare it again I get errors in the new formula.
This is not what I'm use to. I assumed that by declaring a variable to be global that I could reference that variable in any other function WITHOUT having to declare it again.
Am I doing something wrong in redeclaring the variable or is this just a peculiarity of Crystal Reports?
Thanks.
--scott
What I don't understand is why I have to redeclare a variable I specify as Global in any other formulas I want to use said variable. If I don't declare it again I get errors in the new formula.
This is not what I'm use to. I assumed that by declaring a variable to be global that I could reference that variable in any other function WITHOUT having to declare it again.
Am I doing something wrong in redeclaring the variable or is this just a peculiarity of Crystal Reports?
Thanks.
--scott