Skip to Content
Former Member
Aug 03, 2009 at 06:04 AM

Invalid Code(173-36) Error on adding record to Usertable


Dear Support,

I have designed a form in screen painter and also added controls, even for Code and Name. Then I binded all the contols to table fields via sdk.I have registered usertable as UDO of Type Master.Then in the fordataevent BusinessObjectInfo.BeforeAction = True, I have created an object of the usertable and set values for Code and Name.but application generating an error 'Invalid Code (173-36).I was not able to insert any record to usertable. But on checking the form.BusinessObject.key in the formdata event, it returs an empty string.Since its an userdefined table How we can set Object key for the Table?.Does Object Key means code field. Can any one help me Please.

Thanks in advance.

Edited by: Nirmala Thomas on Aug 3, 2009 1:56 PM