Hi there,
I want to change value of a form control based on selection on another form control. Please check the code snippet. Values are fetched, just doesn't pass into the control or gets displayed. Please note, controls are bounded to a Table DS.
public boolean modified()
boolean ret;
CustName cust;
str projinvoiceid;
projinvoiceid = AutoMakLoanHeader_ProjInvoiceProjId.text();
cust = ProjTable::findbyprojinvoice(projinvoiceid).custName();
//AutoMakLoanHeader_CustName.text("TEST");
AutoMakLoanHeader_CustName.text(cust);
AutoMakLoanHeader_CustAccount.text(ProjTable::findbyprojinvoice(projinvoiceid).CustAccount);
element.redraw();
ret = super();
return ret;
}
*This post is locked for comments