Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unexpected token - Error with null value

Hello everyone,

I'm having trouble with a null value.

I have the variable vMaxFechaTrafico that evaluates to null.

Variable.PNG

When I run the code I get this error.

Antes.PNG

Error.PNG

If I replace the variable with a dummy one defined as LET vPrueba = Null(); it works fine.

Luego.PNG

I can't find what's wrong with vMaxFechaTrafico.

I would appreciate any light you can shed on this.


Thanks!!!

1 Solution

Accepted Solutions
stascher
Partner - Creator II
Partner - Creator II

You could just use IsNull( vMaxFechaTrafico ) as there is no need to $ substitute in that function.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Solved,

Replaced by Not '$(vMaxFechaTrafico)' = '' and worked!

stascher
Partner - Creator II
Partner - Creator II

You could just use IsNull( vMaxFechaTrafico ) as there is no need to $ substitute in that function.