Results 1 to 5 of 5

Thread: [RESOLVED] crystalreport .rpt file text object

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Resolved [RESOLVED] crystalreport .rpt file text object

    I am using vb.net and crystalreport 9.0

    i want a way by which i can put text in textbox object of rpt file at run time.
    WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: crystalreport .rpt file text object

    Declare the object
    Code:
    Dim objText As CrystalDecisions.CrystalReports.Engine.TextObject = Report.ReportDefinition.Sections(1).ReportObjects("Mytxt")
    Assign a value
    Code:
    objText.Text = "ABC def GHI"

  3. #3
    Hyperactive Member
    Join Date
    Oct 2004
    Posts
    263

    Re: crystalreport .rpt file text object

    What about with a rdlc instead of rpt?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: crystalreport .rpt file text object

    Thank you very much jggtz .
    It works.

    What about with a rdlc
    I dont know what is that?
    WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST

  5. #5
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: crystalreport .rpt file text object

    Quote Originally Posted by shukla
    RDLC
    I dont know what is that?
    http://msdn.microsoft.com/en-us/libr...67(VS.80).aspx

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