Subject Re: [ib-support] Declared cursor already exists
Author Martijn Tonies
Are you using this in a dll or something?

I believe you need to call Randomize somewhere - it's an IBX thingy.

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com

Upscene Productions
http://www.upscene.com

"This is an object-oriented system.
If we change anything, the users object."

> I am selecting data using IBQuery and at a certain point I need to
> get additional data from a different Query, however when I run this
> additional Query I get this error
>
> "Dynamic SQL Error SQL error code = -502 Declared cursor already
> exists"
>
> Strangely through this doesn't occur every time I run the query.
>
> Any help gratefully received