Results 1 to 3 of 3

Thread: Want to get the records number from Crystal report in VB

  1. #1

    Thread Starter
    Lively Member claire99's Avatar
    Join Date
    Nov 2002
    Location
    OH
    Posts
    66

    Question Want to get the records number from Crystal report in VB

    I add a Crystal Report in my vb project. I'd like to get the records number from it. But it shows nothing in the MsgBox. I don't know what I should do? Below is my code:
    VB Code:
    1. Option Explicit
    2.  
    3. Dim report1 As New CrystalReport1
    4.  
    5. Private Sub Form_Load()
    6.    
    7.     MsgBox report1.Field9.Value
    8.  
    9. End Sub
    Please help me if you have any idea? Thanks in advance!
    "And we know that all things work together for good to them that love God,
    to them who are the called according to his purpose. " --- Romans 8:28

  2. #2

    Thread Starter
    Lively Member claire99's Avatar
    Join Date
    Nov 2002
    Location
    OH
    Posts
    66
    Any idea? Please help!
    Thanks!
    "And we know that all things work together for good to them that love God,
    to them who are the called according to his purpose. " --- Romans 8:28

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I have moved your thread into the Reporting forum as you should get a better response from in here.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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