Forum Discussion
Paginated Reports, Not all variables bound
- 5 years ago
Hi
instead of using :Parametername, use ? (Question Mark). Usually ODBC look for ? wherever you need to define the parameters.
SELECT
*
FROM <table_1>WHERE <field_1> BETWEEN ? AND ?
AND (<field_2>=? or <field_3>= ? or <field_4>=? or <field_5>= ?);Map the ? with appropriate variables in Parameters section of the dataset.
Thanks
Hari
Hi
instead of using :Parametername, use ? (Question Mark). Usually ODBC look for ? wherever you need to define the parameters.
SELECT
*
FROM <table_1>
WHERE <field_1> BETWEEN ? AND ?
AND (<field_2>=? or <field_3>= ? or <field_4>=? or <field_5>= ?);
Map the ? with appropriate variables in Parameters section of the dataset.
Thanks
Hari
- oj6064815 years agoFrequent Visitor
Hi Hari,
Bless you, that worked.
- Anonymous1 year agoNot applicable
It works.
My question is how it knows to map the ? question to the correct parameter.
Thank you Hari