BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cursor C7 not opened

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi As400
View previous topic :: View next topic  
Author Message
Régis CLUSEAU
Guest





PostPosted: Wed Nov 19, 2003 9:54 am    Post subject: Cursor C7 not opened Reply with quote



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





PostPosted: Thu Nov 27, 2003 3:21 pm    Post subject: Re: Cursor C7 not opened Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi As400 All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.