fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
403 stars 153 forks source link

how to use function in the report designer? #298

Open Littlebusybee opened 3 years ago

Littlebusybee commented 3 years ago

dear fralx, for example, I changed a date function into the textItem, but directly show me a string "date()" . how can i use the functions?

yanis60 commented 3 years ago

use like this $S{dateFormat(date(),"dd/MM/yyyy")}

Littlebusybee commented 3 years ago

yyyy

i got it . thanks a lot

Littlebusybee commented 3 years ago

use like this $S{dateFormat(date(),"dd/MM/yyyy")}

i have another question, how to use if statement? i wonder what kind of language this is

yanis60 commented 3 years ago

it's javascript language

Littlebusybee commented 3 years ago

it's javascript language

😀oh, thanks a loooooooooot