I have a Delphi 3, SQL Server 6.5 application and I want the users to be able to abort a long running query by being able to click on a button on a form. Is there any code out there to be able to effect this? (I have in the back of my mind a BDE callback function that could be used.) Thanks Phil Gnad Analyst Programmer MIS Development Christchurch City Council New Zealand Phone (03) - 371-1859 Fax (03) - 371-1989 --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz