Dear community,
I am using an expression in query range and my date range seem not to work:
qbr.value( strfmt( ' ((( %1.%2 == "%3" ) || (%1.%2 == "%4"))) && (( %1.%5 == "%6" )) ',
queryLedgerTrans.dataSourceTable( TableNum( LedgerTrans )).name(), fieldStr( LedgerTrans, AccountNum ), queryValue(ProjParameters::find().customParameter ), queryValue(ProjParameters::find().customParameter2 ), fieldStr( LedgerTrans, TransDate ), SysQuery::range( fromDate, toDate )) ));
The first expression is successfully included, but the date range not. Is it crrect written? Or it is not possible to consider date ranges and I have to break down the range to TransDate>= fromDate && TransDate <= toDate ?
*This post is locked for comments