PDA

View Full Version : Wish: Anti-Freeze Options: Activate, make suspendable


jfalch
01-May-2005, 09:16 PM
I would like a GenericFunction to be added to EurekaLog to temporarily suspend the "Anti-Freeze"-check, eg during long database operations (like bulk loading 40000 records), while keeping the exception protection. (When I use SetEurekaLogState(), the Freeze check is not done, but also exceptions are not caught.) Something like

SetEurekaLogAntiFreeze(False);
Work.ExecSQL;
SetEurekaLogAntiFreeze(True);

Regards;

admin
03-May-2005, 09:59 AM
I would like a GenericFunction to be added to EurekaLog to temporarily suspend the "Anti-Freeze"-check, eg during long database operations (like bulk loading 40000 records), while keeping the exception protection. (When I use SetEurekaLogState(), the Freeze check is not done, but also exceptions are not caught.) Something like

SetEurekaLogAntiFreeze(False);
Work.ExecSQL;
SetEurekaLogAntiFreeze(True);

Regards;

Currently you can use the following code:

CurrentEurekaLogOptions.FreezeActivate := False;
Work.ExecSQL;
CurrentEurekaLogOptions.FreezeActivate := True;

jfalch
03-May-2005, 05:01 PM
I had simply overlooked this in the TEurekaModuleOptions docs. Thank you. A function is not needed in this case.

Regards,

admin
14-Jan-2008, 10:20 AM
You're welcome! :)