25.01.2008, 16:49 | #1 |
Участник
|
Query как поставить "or"
X++: qbds = this.query().dataSourceTable(tablenum(InventTable)); qry = new Query(); qbds=qry.addDataSource(tablenum(InventTable),'lbdt2'); X++: qbrGroupId=qbds.addRange(fieldnum(InventTable,ItemGroupId)); strRangeValue = element.query().dataSourceTable(tablenum(InventTable)).findRange(fieldnum(InventTable,ItemGroupId)).value(); qbrGroupId.value(strRangeValue); qbrItemId=qbds.addRange(fieldnum(InventTable,ItemId)); strRangeValue = element.query().dataSourceTable(tablenum(InventTable)).findRange(fieldnum(InventTable,ItemId)).value(); qbrItemId.value(strRangeValue); |
|