Query query = new Query();
QueryBuildDataSource qbds, qbdsJoin;
QueryBuildRange queryBuildRange;
SysTableLookup sysTableLookup;
QueryBuildLink qblink1;
;
sysTableLookup = SysTableLookup::newParameters(tablenum(View1),this);

qbds = query.addDataSource(tablenum(View1));

sysTableLookup.addLookupfield(fieldnum(View1,PersonnelNumber));
sysTableLookup.addLookupfield(fieldnum(View1,Name), true);

sysTableLookup.performFormLookup();
//super();

Advertisements