I have to prepare a report which is getting some fields data from conf file and show related data on report.
I prepare a conf file and i can read it’s data with C# but i can not compare them with ms sql’s data. To sum up, i want to show my own sql query’s result with Crystal Reports and i want to get Where statement’s values from a conf file.
Is there any document or something like that? I can not find an effictive document.
I would build the Crystal report with parameters then use those in the record selection expert. You can read the app.config values using
ConfigurationManager.AppSettings["parameter_name"].ToString()then pop them into the crystal parameters using:Taken from: http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-string-parameter.htm