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

Events problem in Table Maintainance Generator.

Former Member
0 Likes
762

Hi,

I had created the custom table having three field in it Namely (Pernr,Begda,Endda).Here Pernr is Primary key.

So by using the TMG events '05' i had written the program as below

1) when pernr is intial Display the Error message.

2)When Begda is Greater than Ennda display the error message.

By using the above event '05' five i can able to achieve above conditions.But  i got an issue after saving pernr,Begda,Enda.

so after saving the data 'pernr' becomes non editable and begda and enda is still in edit mode.If i once again change the Endda and Begda (As Begda is greater than Endda) it is saving without showing any error.So please help me to check the Begda And endda  after saving also.it should only allow when Enda is Greater than Begda.

Thanks and regards

D vishnu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
729

Hi vishnu vardhan

To do this, You have to use event '21'!

Keep in your mind:

Event 05 - On create new entry(ies)

Event 21 - On change already entry(ies)

Best regards,

Alexandre B. Dambrowski

Hi,

I had created the custom table having three field in it Namely (Pernr,Begda,Endda).Here Pernr is Primary key.

So by using the TMG events '05' i had written the program as below

1) when pernr is intial Display the Error message.

2)When Begda is Greater than Ennda display the error message.

By using the above event '05' five i can able to achieve above conditions.But  i got an issue after saving pernr,Begda,Enda.

so after saving the data 'pernr' becomes non editable and begda and enda is still in edit mode.If i once again change the Endda and Begda (As Begda is greater than Endda) it is saving without showing any error.So please help me to check the Begda And endda  after saving also.it should only allow when Enda is Greater than Begda.

Thanks and regards

D vishnu

2 REPLIES 2
Read only

Former Member
0 Likes
730

Hi vishnu vardhan

To do this, You have to use event '21'!

Keep in your mind:

Event 05 - On create new entry(ies)

Event 21 - On change already entry(ies)

Best regards,

Alexandre B. Dambrowski

Read only

0 Likes
729

Thanks A lot for Replying.

It Helped a lot.Please Help  more to improve our skills further.