
public void init()
{
super();
if (element.args().caller())
{
wizard = element.args().caller();
custTableCaller = wizard.parmCustTable();
MyDatasource.FirstName = custTableCaller.nameAlias();
myDatasource_ds.research(true);
}
when I select any record in the CustTable grid, and then click another Form menu item, I want the CustTable name field to populate the First name field automatically. In this init() method, Data is coming with debugging but it is not showing in the form field. Any idea? Thanks
Hi D365Es,
When I read your coding, you set a value in the FirstName field, but it is not saved and you "reset" all information by researching the datasource. Try to remove line 11.