Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004

    Unanswered: Crystal reports/vb question

    I am trying to dynamically assign a value in crystal reports by passing a control a value in VB. There is some code that does this now: txtRprtTitle.SetText gstrReportTitle
    txtRprtSubTitle.SetText gstrReportSubTitle

    However, I can't figure out how to find the name of the crystal reports control so I can refer to it in code. Can someone offer a suggestion?

  2. #2
    Join Date
    Mar 2004
    Find the control on your form, right-click it and select Properties. In the properties window look for an item named "Name", that is the name of the control.

    Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

    Or try our Ask An Expert service to answer any of your questions!

Posting Permissions

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