SubReport and Parameters + Control position on canvas

Posted by: octave-dd on 4 August 2017, 2:39 pm EST

  • Posted 4 August 2017, 2:39 pm EST

    Hello. I have 3 questions : :
     - If I set parameter to a subreport and the subreport has a groupfooter with UnderlayNext set to False then an execution error occurs
     - If I set parameter to a subreport and the parameter is sometimes NULL then an execution error occurs
     - Is it possible to know when the afterprint event of a control occurs what is the position of the controls towards the canvas

     

  • Replied 4 August 2017, 2:39 pm EST

    - Group footers do not have an UnderlayNext property.

    - This is being thrown by your data source.  You may be able to configure your datasource to accept null parameters, or modify the value of the parameter before passing it into the subreport.

    - You can find the position of the control in relation to the section, but no event allows you to see the position of the control with relation to the canvas directly.
  • Replied 4 August 2017, 2:39 pm EST

    sorry, I want to say

     - If I set parameter to a subreport and the subreport has a groupheader with UnderlayNext set to False then an execution error occurs
     
     - The position of a control on the report should be very good for me because I draw automaticaltly array on my reports and when a section with KeepTogether property set to False and this section is cut on 2 pages :
          - I can't know the top position of controls on the second page.
          - I can't know the height of the section on the second page.
    Maybe a futur version should give this position ???

    ActiveReport is a very good report product to be integrated in application, Thank You for all.
  • Replied 4 August 2017, 2:39 pm EST

    If setting UnderlayNext to false on a group header is causing an error, there is something wrong with the report design or the code being applied to it.  I have never seen this behavior before.

    I am not sure what exactly you are trying to accomplish.  Could you attach some screenshots of your current output and your desired output (package them within a zip file and attach).  If you cannot get output, please also include a screenshot of your error.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels