I have some queries that may take 5-15 seconds to complete. Sometimes the situation changes shortly after starting the query where my program does not need those results anymore and the program wants to abort and begin a different query instead.
My question is: What is the proper way to abort a query, or other operation during execution that will not cause any issues? By issues I mean files not being closed, or memory not being free'd and such because the operation was aborted and did not have finish normall, but I can continue normally after the abort.. ------------ Scott Doctor scott at scottdoctor.com ------------------