This is not optimal.admin wrote:kknm,
If you create a criteria (Launch) Form with 2 Objects.
1. themonth
2. theyear
you can use these values as Hash Cookies both in your PHP and on a Report.
PHPStevenCode: Select all
WHERE DATE_FORMAT(tabel.tab_data,'%Y %m')= '#theyear# #themonth#'
I have on the form one field with a calendar ('# adat #') and using DATE_FORMAT (tabel.tab_data,% Y% m) = # adat #
I get the year and month in the title in the report.