dictField = new DictField( tableNum(LedgerTable), qbds.range(iRange).field() ); fieldId = fieldname2id( tableNum(LedgerTable), dictField.name() );