hi,
I have a custom master form with custom address grid, in address grid there is action pane with new button which is a dialog form.
My question is i want to creare more addresses (by dilaog form) against loaneeAccount (number seq) of loanee masterform.
how to pass value of loanee account from master form to child form so i create addresses against that loanee account. addressid/location Id is also number sequence.
now output is its just drop down of loanee account not selecting loanee ACCOUNT OF selected record.
i have written this code
public void init() //dialog form init method
{
super();
LoaneeAddress_ds.create(true);
LoaneeAddress = element.args().record();
}
[DataSource]
class LoaneeAddress
{
public void executeQuery()
{
super();
QueryBuildDataSource qbdsLoaneeAddress = LoaneeAddress_ds.query().dataSourceNo(1).addDataSource(tableNum(LoaneeAddress));
QueryBuildRange qbrLoaneeAccount = qbdsLoaneeAddress.addRange(fieldNum(LoaneeAddress, LoaneeAccount));
qbrLoaneeAccount.value(LoaneeAddress.LoaneeAccount); // i just trid here to set value of loaneeAccount//but not working
}
}