• Set properties of report sections using VBA

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Set properties of report sections using VBA

    Author
    Topic
    #490131

    My reports is built dynamically as the columns can change . everything seems to be working OK but I would like to be able to set the height of Headers, Footers as the report is built and I have not been able to find a way to do that. Any suggestions greatly appreciated.

    Thanks

    peter

    Viewing 2 reply threads
    Author
    Replies
    • #1401776

      I haven’t tried it but how about setting the height of a hidden rectangle.

    • #1401803

      WIll try that it should work as long as I have shrink grow turned on. Seems like it should be easier than that, Thanks for you time.

    • #1402216

      Note: Building reports dynamically with VBA code is not commonly done. It does require a lot of work.

      Most people deploy their front end as an mde/accde which prevents you from being able to build reports dynamically. I hae a crosstab report that can vary in the number of columns. I do not have to modify the report design at runtime to handle this. This allows me to lock it down as an mde/accde. See: Dynamic Report based on a Crosstab query

    Viewing 2 reply threads
    Reply To: Reply #1402216 in Set properties of report sections using VBA

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel