Board index » delphi » Error creating cursor handle, in a Local SQL statement

Error creating cursor handle, in a Local SQL statement

Hi, I use D3 with Local SQL. I tried the following statement, but D3
return an error "Error creating cursor handle".

---------------------------------------------------------
UPDATE  'C:\WORK\MYTABLE.db'
SET Price1=10000
WHERE Tipo=3
---------------------------------------------------------
What have I wrong?

Thanks in advance.
Renzo Contarini

--
SIERRA INFORMATICA
P.TTA OTTOBONI, 9
33170 PORDENONE - ITALY
Mr. Renzo Contarini

WEB:  http://www.sierrasoft.com
E-Mail: rco...@sierrasoft.com

 

Re:Error creating cursor handle, in a Local SQL statement


use Query.ExecSQL instead of Query.Open or Query.Active. You will get the
error anytime you have a query that doesn't return a result set and you try
to open it.

Other Threads