Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Oct 2002
    Location
    Lakewood, New Jersey, USA
    Posts
    187
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dynamic report (2000)

    I am trying to modify a generic report on the fly. I have been successful in creating a group header, but I can't seem to create a textbox control using createreportcontrol. Here's my code:

    Set ctlText = CreateReportControl("Response Report", acTextBox, acGroupLevel1Header, "", "State", 1, 1, 20, 10)

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: dynamic report (2000)

    Your code will create an extremely small text box. Position and size are measured in twips; there are 20 twips to one point, or 1440 twips to one inch. So your text box is 1 point wide and 0.5 point high <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  3. #3
    2 Star Lounger
    Join Date
    Oct 2002
    Location
    Lakewood, New Jersey, USA
    Posts
    187
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: dynamic report (2000)

    Ooooh, that explains things. I tried this again without specifying measurements and it worked beautifully. Thanks again Hans!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •