How to retrieve dynamic list of values (CR XI .NET)
Setup:
Step 1: Added Query to xtreme.mdb
C:\Program Files\Business Objects\Crystal Reports 11\Samples\en\Databases\
SELECT DISTINCT Orders.[Ship Via]
FROM Orders
ORDER BY Orders.[Ship Via];
Step 2: Modify Orders.rpt (Edit Parameter: Ship Via)
C:\Program Files\Business Objects\Crystal Reports 11\Samples\Code\CR.NET\C-Sharp for VS 2003\CRSetDiscreteParametersSample
a) Change List of Values to Dynamic
b) Chose a Data source Ship Via
c) Value (Ship Via) Parameters (Ship Via)
d) Save
Step 3) Using .NET open the report without setting any parameters
A dialog comes up and prompts you for the data. The one for Ship Via is a
combo box with the possible values filled in. These came from the database.
I would like to retrieve those values that are in the combo box. I need to
be able to do this using [VB/C#].NET.
Any assistance would be appreciated.
Dave

