Hi,
I have form like this :
I want to display in lookup the name of the
corresponding company,but get the id not the name.
this is lookup method :
query.allowCrossCompany(true);
sysTableLookup = SysTableLookup::newParameters(tableNum(EUKMatrixRole),this);
queryBuildDataSource = query.addDataSource(tableNum(EUKMatrixRole));
sysTableLookup.addLookupfield(fieldNum(EUKMatrixRole, MatrixID));
sysTableLookup.addLookupfield(fieldNum(EUKMatrixRole, MatrixName));
sysTableLookup.addLookupfield(fieldNum(CompanyInfo,Name));
queryBuildRange = queryBuildDataSource.addRange(fieldNum(EUKMatrixRole, MatrixID));
sysTableLookup.parmQuery(query);
sysTableLookup.performFormLookup();
*This post is locked for comments