2007 Sep 03 5:25 AM
Hi,
We are using the event in the table maintainenace to validate the data entred by the user.
In one of the scenarios when user does enter anything and press enter , an error message should come.
I have created a form on event 01-before saving the data into database.
But this form is not getting called .in which event should io code this.
Regards
Sohit
2007 Sep 03 10:23 AM
Hi Sohit,
It must work. you keep a break point and check. I had used the same same thing in one of my object.
the logic would be to
LOOP AT TOTAL.
Now check the record of TOTAL which you want to check by using offset like TOTAL+0(4) i.e. the first four characters of the total which is for the first field and by taking it do the validation by checking teh database or whatever if fails raise the error message.
ENDLOOP.
If you have any doubt write back i'll help you.
<b>Kindly reward points if it helps.</b>
Thanks and Regards
Tanweer zaki
Hi,
We are using the event in the table maintainenace to validate the data entred by the user.
In one of the scenarios when user does enter anything and press enter , an error message should come.
I have created a form on event 01-before saving the data into database.
But this form is not getting called .in which event should io code this.
Regards
Sohit
2007 Sep 03 8:06 AM
2007 Sep 03 10:23 AM
Hi Sohit,
It must work. you keep a break point and check. I had used the same same thing in one of my object.
the logic would be to
LOOP AT TOTAL.
Now check the record of TOTAL which you want to check by using offset like TOTAL+0(4) i.e. the first four characters of the total which is for the first field and by taking it do the validation by checking teh database or whatever if fails raise the error message.
ENDLOOP.
If you have any doubt write back i'll help you.
<b>Kindly reward points if it helps.</b>
Thanks and Regards
Tanweer zaki
2007 Sep 03 10:28 AM
Hi frend,
Try and use it in event, On selection-screen in pai event.
Regards,
Ameet