‎2012 Mar 30 6:45 AM
Hi Experts,
I have created a maintenance view which has the fields Location and characteristics of type ATINN. To the field characterictics i have assinged a foreign key relationship with the table CABN and field ATINN.
While entering the data in the view, if i give some invalid data in the characteristic field and press enter an error message is displayed which is correct. But if i delete the invalid data and press enter a message is displayed 'One entry chosen' and the data is getting saved upon pressing save button. i was expecting an error message but it was not thrown.
I could not understand this behaviour.
Kindly help me out.
Thanks in advance,
Ravi.
‎2012 Mar 30 8:47 AM
‎2012 Mar 30 1:36 PM
Hello Ravi,
In your case I am assuming you have created a TMG then why don't u make this screen field as mandatory in the attributes of the screen of the TMG. It should not then take null values. It's easy and i am sure it must work.
Regards,
Prasenjit Singh Bist
‎2012 Mar 31 4:51 PM
When the screen is regenerated , then this change will be vanished.
‎2012 Apr 02 6:20 AM
Yes, that is true. screen needs to be changed and regenerated. But then as you said the event 05 while creating new values is also helpful. right.
U can check the value
‎2012 Apr 02 6:42 AM
Hello Ravi, u do one thing u create a TMG and implement the event 05 then ,check the value is not initial for that field , if yes throw error