Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB variable height = 0

edited October 2001 in General
I have put vairables on my report. What I want is when the value of
the variable = '0.00' then I want to set the height of the variable to
'0'. I have set the variables to currency, if that matters. Now
every time I run my report the value in the variable is '0.00' but the
height has not changed. I have set the lable beside it to the height
of '0' and it worked. Here is the code that I am using:


varVal2 is the variable that I want to have the height set to '0'. Is
the code wrong or is this not possible.

Thanks Jason

Comments

  • edited October 2001
    Did you try setting the visible property to false? Is that what you are
    trying to achieve?

    Ed Dressel
    Team DM
  • edited October 2001
    What I am trying to do is this. I have 4 variables in 4 regions.
    When the value of a variable is '0.00' I want the height of the
    variable to be set to '0' as a result the height of the region is set
    to '0' and the regions below it move up to take up its space. Thats
    what I am trying to do.

    Thanks for the help

    Jason
  • edited October 2001
    Set the visible property on the region and the bottom region will shift up
    to take its place


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.