Hi, I have added a new field called "Nick Name" on DirParty Table and displaying it on the Employee form.
This field on Employee form looks editable, but when i edit it is not saving the changes. I am able to edit it on DirPartyTable Form.
any guidance would be great .
Thanks.
*This post is locked for comments
Thanks Ken
Hi Santosh,
Why not just create the new field in the emplTable? Unless you need a nick name for each contact person, I don't see why you need to add it to dirPartyTable
Hi Denis, then looks like i have to write code to allow my User to update this Nick Name field in the Employee form. can you tell me where would be the appropriate place to write this.
Thanks.
If you're talking about EmplTable form then it's not intended to be used to edit anything directly in the DirPartyTable. If you look at \Forms\EmplTable\Data Sources\DirPartyTable\Methods\write then you'll see that the call to super() (where the changes are actually written to the database) is commented out:public void write()
{
// super();
Address_ds.allowCreate(true);
}
That's why when you save the changes none of them are written to the DirPartyTable.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
Zain Mehmood
6
Moderator