In the BDE configuration tab, what dll have you chosen with the Sybase
driver.
Make sure the SQLSYB32.DLL has been selected, rather than the
SQLSSC32.DLL. In our experience we've found weirdness that has gone away
when using this dll.
(Embedded
image moved [EMAIL PROTECTED]
to file: 09/01/2001 23:34
pic24464.pcx)
Please respond to [EMAIL PROTECTED]
To: Multiple recipients of list database <[EMAIL PROTECTED]>
cc:
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
pic24464.pcx