Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
johan
Posts: 422 Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times
Unread post
by johan » Tue Apr 10, 2012 10:05 pm
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
johan
Posts: 422 Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times
Unread post
by johan » Tue Apr 17, 2012 7:40 pm
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
admin
Site Admin
Posts: 2824 Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times
Unread post
by admin » Mon Apr 23, 2012 6:16 am
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
You do not have the required permissions to view the files attached to this post.
johan
Posts: 422 Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times
Unread post
by johan » Mon Apr 23, 2012 3:53 pm
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
admin
Site Admin
Posts: 2824 Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times
Unread post
by admin » Tue Apr 24, 2012 6:53 am
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
johan
Posts: 422 Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times
Unread post
by johan » Tue Apr 24, 2012 8:01 am
Steven,
This did the job, works fine now.
Thanks again,
Johan