Repeatonnewpage does not work ?

BeliasBelias Member Posts: 2,998
edited 2010-10-05 in NAV Tips & Tricks
i have a report with a list object, containing some tables.
the first tables have repeatonnewpage set to true, but this actually not work! do you know if there are some issues in using repeatonnewpage in tables within a list? I don't know where to bang my head...
thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog

Comments

  • BeliasBelias Member Posts: 2,998
    it doesn't work because the table have been already fully printed before the pagebreak #-o (the pagebreak occurs in the last table of my report.)
    i tried to go with the getdata/setdata solution to show my fields in the report header, but it didn' work! the shown value is always the same ](*,)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • BeliasBelias Member Posts: 2,998
    I DID IT!I DID IT!I DID IT!I DID IT!I DID IT!I DID IT!I DID IT!
    i added a report header, i added a textbox with value
    "=SetData(ReportItems!Nameofthetextboxiwant.Value,1)"
    under it (in the report header)
    "=GetData(1)"

    here's the catch: setdatafunction is

    Public function Setdata(newvalue as object,Group as integer)
    if group = 1 then
      if newvalue > "" then    <--- THIS IS IMPERATIVE!!
        Data1 = newvalue
      end if
    end if
    

    Public function Getdata(group as integer) as object
    if group = 1 then
      return(Cstr(Data1))
    end if
    
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • krikikriki Member, Moderator Posts: 9,112
    [Topic moved from 'NAV Three Tier' forum to 'NAV Tips & Tricks' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.