Thanks LB! I just needed to resolve the compile error. Turns out that the various values in my code switch between numeric and string values. I limited to just string values and it works! Next, set those numbers to strings in my SQL.
Thanks again!
Fred
I checked and I do have a compile error.
"A string is required here" is the error message and then the last "if" in the last line "else if" of my code is highlighted.
What could be wrong?
I need to use a formula in the Group Expert so I can change the grouping based upon a parameter yet when I go to select the formula = TOTAL_BY based on the parameter {?TOTAL_BY} with the code:
if {?TOTAL_BY} = "Location" then {Command.LOCATION}
else if {?TOTAL_BY} = "Dept" then {Command.DEPT}...
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.