Creating report parameters for OLE DB data sources
Use to create report parameters that will be used with OLE DB data sources.
You must perform this procedure for certain numeric and date fields, and if you do not perform this procedure, you will be prompted for parameters by Reporting Services and Crystal Reports. You do not have to perform this procedure for parameters that are passed within OLE DB, those parameters contain a ? or ?paramname as a filter value within the OLE DB query.
Note the following:
- For numeric fields, if you use integers other than monetary value, count, or an integer that will not be used in an equation in fields as parameters, you need to use the Type Conversion function CDbl, number, currency, string, or boolean, in the record selection formula.
- For date fields, if you use date fields for report parameters, you need to use the Date/Time function CDateTime(date) in the selection formula.