st = strFmt('(%1 == "%2"))', fieldstr(PriceDiscTable, Currency), queryValue(currency)); qbds.addRange(fieldNum(PriceDiscTable, Currency)).value(st);