rahul.kolhe22
17th May 2008, 17:34
Hi all,
I am having a MMT session in which I am adding the record. While saving the record I check the values of the record in DAL2 before.save.object() function. If there is any problem I return DALHOOKERROR. Now my problem is if I am returning DALHOOKERROR then I have to initiliaze that variable to blank value in UI.
But I am unable to catch that event in which before.save.object is returning DALHOOKERROR. In UI I have tried on.error section but the control does not go there.
Sometimes it gives me some tools error. But I am totally unable to understand why is it comming. PLEASE somebody tell me what is going wrong.
The tools error snapshot is been attached to this message.
Thanks in advance
I am having a MMT session in which I am adding the record. While saving the record I check the values of the record in DAL2 before.save.object() function. If there is any problem I return DALHOOKERROR. Now my problem is if I am returning DALHOOKERROR then I have to initiliaze that variable to blank value in UI.
But I am unable to catch that event in which before.save.object is returning DALHOOKERROR. In UI I have tried on.error section but the control does not go there.
Sometimes it gives me some tools error. But I am totally unable to understand why is it comming. PLEASE somebody tell me what is going wrong.
The tools error snapshot is been attached to this message.
Thanks in advance