I have used this formula for a number of different thigs within the same report which is great!
Is there a way of stating more than one product code.
What i have below works just fine.
if {AVBRecordTypes.Description}= "Top-Off Order from AVB" and {AVBTransactionLogDetails.ProductCode}= 99082 then
{AVBTransactionLog.TxnId} else
{@null}
What i would like to work but doesnt is this:
if {AVBRecordTypes.Description}= "Top-Off Order from AVB" and {AVBTransactionLogDetails.ProductCode}= 99082 or 99079 then
{AVBTransactionLog.TxnId} else
{@null}
"or 99079" throws up errors. Am I missing something or should it work?
if {AVBRecordTypes.Description}= "Top-Off Order from AVB" and
{AVBTransactionLogDetails.ProductCode} in [99082, 99079] then
{AVBTransactionLog.TxnId} else
{@null}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.