Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void lookup()
- {
- SysTableLookup sysTableLookup;
- Query query;
- QueryBuildDataSource queryBuildDataSource;
- QueryBuildRange queryBuildRange;
- itemId itemId;
- ;
- sysTableLookup = SysTableLookup::newParameters(tableNum(SalesTable),this); //bu form üzerinde olacağı için this
- sysTableLookup.addLookupfield(fieldNum(SalesTable,SalesId));
- sysTableLookup.addLookupfield(fieldnum(SalesTable,SalesName));
- sysTableLookup.addLookupfield(fieldnum(SalesTable,DeliveryDate));
- query = new Query();
- queryBuildDataSource = query.addDataSource(tablenum(SalesTable));
- queryBuildRange= queryBuildDataSource.addRange(fieldnum(SalesTable,SalesName));
- queryBuildRange.value('H*');
- //queryBuildRange.value(strFmt("SalesName like '%1'", queryValue("H*")));
- //queryBuildRange.value((queryValue("00004_036")));
- sysTableLookup.parmQuery(query);
- sysTableLookup.performFormLookup();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement