Variable field heigh in Reports

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rwalle
    New Member
    • Jan 2010
    • 47

    Variable field heigh in Reports

    HI:
    I have several reports where I display product data, it works fine, but I'm wondering if the fields height can be set dinamically because I have descriptions that fit fine into the 112 char lenght line, but in some prod I have about 150-180 Characters and will be better if I could make in this cases the field height bigger,is there a way to handle this ?

    Thanks in advance for any help

    Access 2007
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    If you set the textbox control's Can Grow property to Yes the control will automatically expand vertically to fit the text within it, by extending onto another line. The width of the textbox area remains just as it was set up on your report when Can Grow is on.

    -Stewart

    Comment

    • rwalle
      New Member
      • Jan 2010
      • 47

      #3
      Hi Stewart:

      I have set the "descriptio n" field height to can grow and it work but now I'd like to know how to make the others fields height also grow depending on the "descriptio n" field height, this because I have set the border style for all the fields to solid so the report shows as a gird but now some "descriptio ns" have grown and the correspondig "Qty"; and "ProdId" field didn't and the lines for the border of all them dont match, I tried setting the others field heigh = to description field heigh but it remain the same heigh

      thanks in advance for your help

      Raymundo Walle

      Comment

      • Stewart Ross
        Recognized Expert Moderator Specialist
        • Feb 2008
        • 2545

        #4
        Hi Raymundo. Sorry to say I don't know of any easy way to set the other fields to change height in sympathy with your description field. It is not a built-in facility.

        It may be possible to change the height of the other fields in code from the On Format event of the detail section concerned, but this may prove tricky when the height of the description field is itself being changed on format by Access.

        -Stewart

        Comment

        Working...