Results 1 to 2 of 2

Thread: how change a sections object value crystal

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    how change a sections object value crystal

    i am trying to change an object in the page header at runtime in vb. Can anybody tell me the correct way.

    Report.Sections("PageHeaderSection1").ReportObjects.Item("text2").SetText = "ad"

    can anybody help me correct it

  2. #2
    Member
    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    49

    Re: how change a sections object value crystal

    dim cr as new crystalreport1
    Dim SampleReportText1 As CrystalDecisions.CrystalReports.Engine.TextObject = CType(cr.ReportDefinition.ReportObjects.Item("Text1"), CrystalDecisions.CrystalReports.Engine.TextObject)
    SampleReportText2.Text = textbox1.Text

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