Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Event in Table maintenance generator

Former Member
0 Likes
569

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

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

3 REPLIES 3
Read only

Former Member
Read only

Former Member
0 Likes
551

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

Read only

Former Member
0 Likes
550

Hi frend,

Try and use it in event, On selection-screen in pai event.

Regards,

Ameet