Results 1 to 3 of 3

Thread: Data Report - Edit RptTextBox in HeaderSection at RunTime

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Data Report - Edit RptTextBox in HeaderSection at RunTime

    Hi folk´s


    How can i set RptTextBox value in HeaderSection at Runtime?

    I want to set it based on a global variable.

    Thanks

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Data Report - Edit RptTextBox in HeaderSection at RunTime

    You can access the report controls through the Sections and Controls collections of the DataReport object.

    DataReport1.Sections("Section2").Controls("Label1").Caption = "Hello World"

    Section2 is the default name of the PageHeader section.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Re: Data Report - Edit RptTextBox in HeaderSection at RunTime

    Thank you, brucevde. Problem solved.

Posting Permissions

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



Click Here to Expand Forum to Full Width