Report Parameters #36
Replies: 2 comments
-
Hi, glad to hear you are making good progress! It's possible to send all the parameters but you need to know them. If you would like to load a report file and get the parameters and datatypes, it would be something that currently is not possible. In order to do so I can imagine two options:
|
Beta Was this translation helpful? Give feedback.
-
Hi, Did you make any progress on this? In case you don't necessary need 100% dynamic parameters, there is something I just remembered in which you can pass all the named-parameters and if the report has it it will be sent, otherwise just ignored. Maybe it helps in your scenario/app |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a requirement where I want all the parameters in a report template file . Following are the steps I want perform:
Create a mysql dns- DONE
odbchelper.createMysqlDsn(dsnName);
Create a report object-DONE
var report = new Report("c:/test.rpt", reportName)
{
Connection = CrystalReportsConnectionFactory.CreateODBCSqlConnection(dsnName, databasename)
};
Fetch all parameters in that report for which I need to add values. I also want to fetch the datatype of each parameters . - PENDING
Add parameter values
report.Parameters.Add(param, val);
So i want to perform the 3rd step where I want the rpt template's parameters before adding the values in step 4.
Please help me if there is any way to achieve this using this package.
Your earliest response will be appriciated.
Beta Was this translation helpful? Give feedback.
All reactions