Subject isc_dsql_set_cursor_name / Error -504 "unknown cursor"
Author georg_ritter@hotmail.com
Hi,

I'm trying to program a query (SELECT) statement with parameters
("Select * from table where id=?") using the Interbase C-Api.
--> corresponds to method 4 described in the Interbaes API guide.

Anyway, whatever I try, the following isc_dsql_fetch causes an dsql
error -504 (unknown cursor).

My question: Does anybody have a working example of
isc_dsql_set_cursor_name?
There is very little information about this function and the error
-504, any hint would be appreciated.

Thanks
Georg