Hi, Ive got an odd error against a Sybase database:

"General SQL error. ct_cursor(CLOSE); user api layer; external error. A
Cursor must be opened before this command type can be initialized"

I'm new to working with Sybase so not quite sure what is going on here.  All
the code in question is doing is:

   with dmClient.QryAll do
   begin
      if databasename = '' then
         exit;
      close;
      sql.clear;
      sql.add(sqlstring);
      open;

sqlstring is a simple SELECT query statement. Any pointers to what I should
be looking for?

Mark


---------------------------------------------------------------------------
  New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to