Invalid token: && in Expression

I am trying to use dataview-condition to fill a table based on two filters in the expression. I have been looking at the system code to try and figure it out, but everything I have tried to date does not work. Does anyone know how to accomplish this?

This is what I currently have in the expression.

UD01Data.UD01_CheckBox01 = true && UD01Data.UD01_Key2 = #_trans.dataView('AllData').dataRow(0)['UD01_ShortChar01']_#

And it results in this error.

Errors in criteria parser for expression: UD01Data.UD01_CheckBox01 = true && UD01Data.UD01_Key2 = Style Errors: invalid token: &&

Maybe stupid suggestion, but did you try AND in stead of &&?

1 Like

Just did as you were answering. I had errors in my expression earlier that made the system barf on AND, so I stopped trying it. I just thought it through and thought to try it again. Thanks for the response.

By the way, I don’t know what I’m doing :laughing: :rofl: :laughing:

3 Likes