Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Sub totals and Page Breaks
Re: Sub totals and Page Breaks [message #2399 is a reply to message #2392] Sun, 17 January 2010 10:30 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
I've solved the AddPage issue. The class I am using is an extension of another class, and that class contained the deprecated _cm_ListView_pre_print() method. This was causing _cm_ListView_print_before() not to be executed.

However, the updates sre not working correctly because of the following:

In _print_after() the field I am comparing to see if the entity is changed from $current_row to $next_row does not have the same formatting applied, so the comparison ALWAYS returns false. $current_row contains the ValRep representation of the entity, whilst the $next_row contains the entity id.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: $fieldarray problem
Next Topic: PDF Footer
Goto Forum:
  


Current Time: Mon Jul 22 16:24:39 EDT 2024

Total time taken to generate the page: 0.01102 seconds