Results 1 to 8 of 8

Thread: [RESOLVED]Crystal Reports : How to set text object value at runtime using VB .NET

  1. #1

  2. #2

  3. #3
    Lively Member
    Join Date
    Jan 2001
    Posts
    79
    Can you elaborate more.

  4. #4

  5. #5

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Cool PROBLEM RESOLVED

    VB Code:
    1. Dim rptTicket As New Ticket()
    2.         Dim txtObject As TextObject
    3.         If TypeOf (rptTicket.ReportDefinition.ReportObjects.Item("txtTickets")) Is TextObject Then
    4.             txtObject = rptTicket.ReportDefinition.ReportObjects.Item("txtTickets")
    5.             MsgBox(txtObject.Text)
    6.             'txtObject.Text="Cool. Isn't it."
    7.         End If
    8.         'MsgBox(rptTicket.DataDefinition.FormulaFields.Item("AgentCompany").Text())

  6. #6

  7. #7
    New Member
    Join Date
    Mar 2009
    Posts
    2

    Re: [RESOLVED]Crystal Reports : How to set text object value at runtime using VB .NET

    I've use this codes, but it doesn't change anything on my report.
    is there anything i missed?

  8. #8

    Thread Starter
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Re: [RESOLVED]Crystal Reports : How to set text object value at runtime using VB .NET

    Ohh.. you replied to a quite old post but don't mind. I think I used that code in .NET 2002 and things have been changed .NET and Crysal Reports world since then. Also I am not in touch with Crystal Reports from a long time. So it's better you start a new thread.

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