I have a report with a prompt to fill an “in list” query. When I execute the report from within BOI and answer the prompt with a list of values (e.g. warehouse? 210,220), it works fine.
When I answer the prompt via a script (e.g. Application.Variables.Item(“warehouses?”).Value = “210,220”), it will only work if I supply just one value (e.g. “210”); when I supply a list of values (e.g. “210,220”) it fails with “Error during SQL execution; ORA-01722: invalid number :-1722”.
I understand what the error is telling me, but I question why it works through BOI proper, but not in the script. Is there a way to get it to work in the script?
Thanks!
Dick McConnell
Polymerland IMO
ph: 8354-4788 or (704) 948-4788
fax: 8354-4915 or (704) 948-4915
e-mail: richard.mcconnell@polymerland.com profs: P024284
Listserv Archives (BOB member since 2002-06-25)