Not sure if the subject was descriptive enough...sorry...but here's my dilema.
Working with Crystal XI
Datasource is SQL 2005 / Stored Proc
Fairly simple report with date parameter (user chooses month and year) built into SQL PROC
The user needs to be able to choose a Company from a drop down menu. I obviously can't pass that to the stored procedure because of it needing to be a dynamic list completely separate from PROC. So I tried setting up a statment in the Selection formula of the report itself...
IF ISNULL(?ParamCompany)
THEN qry.Company = qry.Company
ELSE qry.Company = ?ParamCompany
But I can't seem to figure out how this dynamic drop down list works in CRXI...I'm doing something wrong. Because when I try to execute the report it only gives me the two parameters from the PROC, then another parameter screen comes up with the already filled in with those PROC parameters THEN at the bottom the one from the report selection formula, and it has nothing in the drop down list except the "..."
ALSO, as you may have noticed in the Selection formula, I need to make an allowance for the possibility that if they leave the parameter blank / null it will bring up all the companies. What am I missing...can anyone point me in the direction I need to get this down?
I can do it all day long in CR10 and below, but I'm truly missing the boat on XI...I'm lost.
Any help is GREATLY appreciated!
Thank you,
CrystalQB
Working with Crystal XI
Datasource is SQL 2005 / Stored Proc
Fairly simple report with date parameter (user chooses month and year) built into SQL PROC
The user needs to be able to choose a Company from a drop down menu. I obviously can't pass that to the stored procedure because of it needing to be a dynamic list completely separate from PROC. So I tried setting up a statment in the Selection formula of the report itself...
IF ISNULL(?ParamCompany)
THEN qry.Company = qry.Company
ELSE qry.Company = ?ParamCompany
But I can't seem to figure out how this dynamic drop down list works in CRXI...I'm doing something wrong. Because when I try to execute the report it only gives me the two parameters from the PROC, then another parameter screen comes up with the already filled in with those PROC parameters THEN at the bottom the one from the report selection formula, and it has nothing in the drop down list except the "..."
ALSO, as you may have noticed in the Selection formula, I need to make an allowance for the possibility that if they leave the parameter blank / null it will bring up all the companies. What am I missing...can anyone point me in the direction I need to get this down?
I can do it all day long in CR10 and below, but I'm truly missing the boat on XI...I'm lost.
Any help is GREATLY appreciated!
Thank you,
CrystalQB