Dear Mark,

We don't handle Sybase products and you may have contacted us in error.
Fortunately though - Sybase is just down the hall from us so I will print
off your email and hand it to them.

Best of luck

Ali (checking messages for Olivia in her absence)

Olivia Ellis - Office Manager
Borland
PO Box 90652
Auckland
[EMAIL PROTECTED]
Ph (09) 360 0231
Fax (09) 360 0384
----- Original Message -----
From: "Mark Derricutt" <[EMAIL PROTECTED]>
To: "Multiple recipients of list database" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:34 AM
Subject: [DUG-DB]: SQL Error on Sybase


> 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
>

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

Reply via email to