Page 1 of 1

How do I set up a variable with range?

Posted: Thu Oct 26, 2023 1:21 pm
by kmoracam87
Hi, I am trying to set up a variable with range to filter in a cross tab but it's show an error of sintax.

this function I 'm using in the option to filter of cross tab

REP_CATEGORIAS.FECHA_D >= {@fecha.FromDate} && REP_CATEGORIAS.FECHA_D <= {@fecha.ToDate}

Please help me. :|

Thank you
erro2.PNG
erro2.PNG (42.29 KiB) Viewed 5271 times
erro1.png
erro1.png (7.51 KiB) Viewed 5271 times

Re: How do I set up a variable with range?

Posted: Sat Oct 28, 2023 5:02 pm
by Lech Kulikowski
Hello,

Please check:
REP_CATEGORIAS.FECHA_D >= fecha.FromDate && REP_CATEGORIAS.FECHA_D <= fecha.ToDate

Thank you.