I'm using the Crystal OCX to generate a report that's getting its data from a SQL Server stored proc with parameters. I'm connecting to the db via ODBC. I'm using the StoredProcParam property array to pass the SP parameters and that's working fine. I'd like to display these parameters on the report, though, and that's where my problem is. Instead of the assigned value, it's just displaying the default value that was saved with the report.
I've tried assigning values to the ParameterFields property array, but get an error. I could create a formula and pass the values in through the Formulas property array, but that would require changing dozens of reports that we have. (If you pass a non-existant formula, you get an error.)
Any suggestions or pointers would be helpful.
I've tried assigning values to the ParameterFields property array, but get an error. I could create a formula and pass the values in through the Formulas property array, but that would require changing dozens of reports that we have. (If you pass a non-existant formula, you get an error.)
Any suggestions or pointers would be helpful.