Subject Problem with query statement with parameter
Author marx_sk

I tried to write program which will use isc_dsql_execute2() [query
with parameter]. I'm able to initialize it but I fail with -504
(Unknown cursor) or with OK status but no lines are fetched. When I
use isc_dsql_execute() then I'm able to gain results. Anyone can send
me a piece of code which works or can me help what's wrong? I wasn't
able to find it.