zardoz
4th April 2013, 17:31
There is a (probably undocumented, because I've never seen it in the tools manual) way to inactivate the DAL associated to a table? I've see in the General Table Maintenence you can choose if activate or not the DAL, but in the tools manual there is no track of a function (that I'm almost sure it will be) that deactivate the DAL.
Yes, I know that the DAL is there for good reason, but there are situations on which you have to massively update a field unregardless of controls, exactly as you can do it thru GTM.
This is obviously bypassable using a temp table and use it to db.update (not dal.change.object) the table you want to bypass the dal, but why to have another table and writing annoying things if is possible to get another - and quicker - solution?

zardoz
5th April 2013, 16:37
Ok, I've found by myself the solution. Simple and useful (even if somewhat risky):

before.program:
disable.dal()

Amit_Jain
21st October 2014, 07:16
Hi Zardoz

Just curious, how did you find this function? also can we use this at some place other than 'before.program'

sachinbaan
21st October 2014, 10:13
Hi,

It wont work other that before.program, because once before.program gets executed, DAL is invoked.