Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 09-28-2000, 01:06 PM
Posts: n/a
Default Error Creating Cursor Handle

Why is happening this error in my application:

Alex.EXE raised excpetion class enoresult set with message Error Creating Cursor Handle

How can I correct this error?

Thanks since now

Reply With Quote
Old 09-28-2000, 01:59 PM
Posts: n/a
Default RE: Error Creating Cursor Handle

Reading the help file for D5 I found this:

ENoResultSet is the exception class for unsuccessful attempts to open a dataset query.


ENoResultSet is raised by TQuery when an attempt is made to open the query without a SELECT statement.

I would guess that you either called Query1.Open or set to true when the statement you used in the Query1.SQL property was empty or will not return a live result set (INSERT, DELETE, UPDATE). Use Query1.ExecSQL; instead of Query1.Open or Query1.Activate.
Reply With Quote
Old 03-30-2004, 05:14 AM
rage_against rage_against is offline
Junior Member
Join Date: Mar 2004
Posts: 23
Default RE: Error Creating Cursor Handle

In my program worked..
the error was caused by the "first" an "next"
so I type before "query1.SQL.text:='select * from doc_tur';".


"They kill Kenny!!"
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 01:39 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.