Hi,
I am on a client site and have been asked to help speed up some reports. On one particular report the user is asked to enter two string values: Start Period and End Period . These 2 string input values then get converted into numbers: 200401 represents May 2003, 200402 represents 200402. This conversion is done using formulas with lots of IF THEN ELSE blocks and STRING MANIPULATION functions.
The issue
The R selection formula references the formulas used to do the string - number conversion and appear to really slow the report down. If I change the paramaters in the report to directly accept numbers this speeds everything up = but then this isn't user friendly to make the user enter codes representing periods.
Unfortunately I don't really have the luxury to play around much with SQL so need a Crystal reports solution..
The things is, I am not really sure why converting the parameter strings to numbers would slow things down so much as surely the formula would only need to be evaluated once once (?) when the report is run with the input parameter values.
Can anyone think of any ideas to speed this up? I am wondering if a correct useage of 'before readingrecords' would do the trick?
Cheers
Nassy
I am on a client site and have been asked to help speed up some reports. On one particular report the user is asked to enter two string values: Start Period and End Period . These 2 string input values then get converted into numbers: 200401 represents May 2003, 200402 represents 200402. This conversion is done using formulas with lots of IF THEN ELSE blocks and STRING MANIPULATION functions.
The issue
The R selection formula references the formulas used to do the string - number conversion and appear to really slow the report down. If I change the paramaters in the report to directly accept numbers this speeds everything up = but then this isn't user friendly to make the user enter codes representing periods.
Unfortunately I don't really have the luxury to play around much with SQL so need a Crystal reports solution..
The things is, I am not really sure why converting the parameter strings to numbers would slow things down so much as surely the formula would only need to be evaluated once once (?) when the report is run with the input parameter values.
Can anyone think of any ideas to speed this up? I am wondering if a correct useage of 'before readingrecords' would do the trick?
Cheers
Nassy