Results 1 to 2 of 2

Thread: TextBox.text to crystal report's text object

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124

    TextBox.text to crystal report's text object

    Can anyone tell me how to insert a form's textbox.text to Crystal report text object?

  2. #2
    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())

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