Options

Is it real to manage controls in report (in sections) from..

randrewsrandrews Member Posts: 135
Is it real to manage controls in report (in sections) from OnPreSection() triger.
I wanna set a property Visible of label in section ("visible" depends on boolean variable).

Thank you.

Comments

  • Options
    janpieterjanpieter Member Posts: 298
    you cant change the visible property but you can fore a whole section not to be printed by adding this code in the section:

    curreport.ShowOutput(<boolean>);

    <boolean> = true, section is printed
    <boolean> = false, section is not printed.

    If you want only one field to be invisible just empty its variable value if you want it to be 'invisible'.
    In a world without Borders or Fences, who needs Windows and Gates?
  • Options
    randrewsrandrews Member Posts: 135
    A good idea to create 2 the same section but with diferent VISIBLE.

    Thanks.
Sign In or Register to comment.