Page 2 of 2
Re: problem with lay-out and page footer in pdf
Posted: Tue Apr 10, 2012 10:05 pm
by johan
Anorman,
I'm glad I'm not alone with this problem.
Hope for us that someone knows a solution.
Seems that can grow, ... isn 't working properly in pdf.
Johan
Re: problem with lay-out and page footer in pdf
Posted: Wed Apr 11, 2012 6:34 am
by admin
Re: problem with lay-out and page footer in pdf
Posted: Wed Apr 11, 2012 7:38 am
by johan
Steven,
It didn't solve the problem.
After I created a php.ini (see
http://forums.nubuilder.cloud/viewtopic.php?f=4&t=7829) my report footer appears again.
Johan
Re: problem with lay-out and page footer in pdf
Posted: Tue Apr 17, 2012 7:40 pm
by johan
Steven,
In zzsys_activity the new report Builder (since build 11.09.19 ) sets
$this->Controls[0]->CanGrow = 'Yes'; in sat_report_display_code.
This is causing the problem. When I change 'YES' in 'True' everything seems alright.
Is it a bug?
Greetings
Johan
Re: problem with lay-out and page footer in pdf
Posted: Mon Apr 23, 2012 6:16 am
by admin
Johan,
Good find!
Please let me know if this fixes it.
nureportbuilder.zip
You'll need to open and save the report again though.
Steven
Re: problem with lay-out and page footer in pdf
Posted: Mon Apr 23, 2012 3:53 pm
by johan
Steven,
It does a part of the job.
When I create a new field or edit an existing field in a report Nubuilder sets CanGrow = 'True'; in zzsys_activity so that part is OK.
But The fields that where already CanGrow = 'Yes' stays the same (Yes) after save.
Another problem I still experience is that I can't add images (logo) in pdf report. Don't know how to solve this.
Johan
Re: problem with lay-out and page footer in pdf
Posted: Tue Apr 24, 2012 6:53 am
by admin
Johan,
Just run this in phpmyadmin
(do a backup first)
Code: Select all
update zzsys_activity set sat_report_display_code = REPLACE(sat_report_display_code, "->CanGrow = 'Yes';", "->CanGrow = 'True';")
Steven
Re: problem with lay-out and page footer in pdf
Posted: Tue Apr 24, 2012 8:01 am
by johan
Steven,
This did the job, works fine now.
Thanks again,
Johan
Re: problem with lay-out and page footer in pdf
Posted: Thu Apr 26, 2012 5:50 am
by admin
Excellent!