VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Aborting a query

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
bmarinel



Joined: 03 Apr 2003
Posts: 18

PostPosted: Fri May 16, 2003 3:50 pm    Post subject: Aborting a query Reply with quote

Hi,

I'm calling TSQLQuery.Open, and I was wondering if there any way to abort a running query. I have been terminating my application, but I know that isn't a very good idea. Other applications that I use to access Sybase through CTLib have this feature. How can I do it?

Regards,

Bill
Back to top
View user's profile Send private message
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Sat May 17, 2003 9:26 am    Post subject: Reply with quote

Closing of TSQLQuery will cancel an active command (no fetches of remaining records will be done)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bmarinel



Joined: 03 Apr 2003
Posts: 18

PostPosted: Thu Mar 11, 2004 11:05 pm    Post subject: Reply with quote

Does closing the query call ct_cancel, passing it the CS_CANCEL_ALL command type?
Back to top
View user's profile Send private message
Mat000



Joined: 04 Nov 2003
Posts: 12

PostPosted: Sun Mar 14, 2004 12:52 am    Post subject: Reply with quote

Hello.

Yes, it does. You can see it in the log. If the command is active ISQLCommand.close method calls ct_cancel with CS_CANCEL_ALL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group