 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Régis CLUSEAU Guest
|
Posted: Wed Nov 19, 2003 9:54 am Post subject: Cursor C7 not opened |
|
|
Hi,
We have an application Delphi 5 with DB2/400 (V5R2) Database. We use
ADO/OLEDB to work with that Database.
Sometime we have the error "The cursor C7 is not opened" on the AS400 log,
but it seems the application is still working. We never program SQL cursor
directly. We do not use storedproc.
Is this message a real problem ?
I don't even know how to have this message happens.
--
Régis CLUSEAU
[email]r.cluseau (AT) datasoft (DOT) fr[/email]
|
|
| Back to top |
|
 |
Régis CLUSEAU Guest
|
Posted: Thu Nov 27, 2003 3:21 pm Post subject: Re: Cursor C7 not opened |
|
|
Hi,
Ok, I found out what seems to be the problem.
In fact, it happens when you try to use MyConnection.Execute(
MySqlStatement, cmdText, [eoExecuteNoRecords]). For some Sql Statement (not
for All) the parameter "eoExecuteNoRecords" provokes the message in the
AS400 log.
Just leave the parameter empty and it's OK.
Régis CLUSEAU
[email]r.cluseau (AT) datasoft (DOT) fr[/email]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|