I have a report that works fine if I hardcode the value for country. But I want to parametrize this field (it's a string) and want that the user should be able to select more than one value for the 'country' field. I have entered my data retreival logic in the form of an SQL in the command section of the database expert. When I create a paramater field in the command section, and select value type as 'string', there are 2 issues:
1. In the default values section, I have to type some value. I want all the values of the country field to show in the drop down, so that a user can view this report for several countries.
2. When I do type in a country name in the default section (say i type in "UK"),and then click "ok", I get the following error message:
"Failed to retreive rowset" . Details:ADO error code: 0x80040e14
Source OraOLEDB
Decscription: ora-00904 : "UK invalid identifier"
Native error: 904
My SQL is of the form:
select .... from...... where ....and
COUNTRIES.COUNTRY_NAME IN ({?country})
Please help....
1. In the default values section, I have to type some value. I want all the values of the country field to show in the drop down, so that a user can view this report for several countries.
2. When I do type in a country name in the default section (say i type in "UK"),and then click "ok", I get the following error message:
"Failed to retreive rowset" . Details:ADO error code: 0x80040e14
Source OraOLEDB
Decscription: ora-00904 : "UK invalid identifier"
Native error: 904
My SQL is of the form:
select .... from...... where ....and
COUNTRIES.COUNTRY_NAME IN ({?country})
Please help....