Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report error message only for two users

Status
Not open for further replies.

harrietohs

IS-IT--Management
Apr 26, 2002
99
CA
Crystal 8.5

I have a report that uses a formula called "Variance Value".

numberVar Var :=
if {animal.animal_type} in "CAT" and {animal.sex} in "F" then {@Variance #} * 62.38 else
if {animal.animal_type} in "DOG" and {animal.sex} in "F" then {@Variance #} * 90.74 else
if {animal.animal_type} in "CAT" and {animal.sex} in "M" then {@Variance #} * 39.70 else
if {animal.animal_type} in "DOG" and {animal.sex} in "M" then {@Variance #} * 56.71;
shared numberVar RT := rt + var;
var;

When this report is run from 2 of our user's machines, they get the following error message:

Error in formula <Variance Value>. 'numberVar Var =?' A variable name is expected here.

This same report runs fine all a dozen other machines.

Any ideas on why this error appears on selected computers would be much appreciated.

Thanks,

Harriet
Ottawa Humane Society

 
Why not change the variable name and see if that addresses the issue. Add an X at the end (varx) or something. For some reason, those computers seem to be reading "var" as a reserved word.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top