1.11M Members

Open Form when clicking fields in crystal report?

 
0
 

Is there a way to open a form in vb6 when they clicked on one of the field in crystal report? Ex. If I want to update certain deposit, when clicking on crystal report, it will open the vb6 form to display for editing..

Ive found 1 in vb.net from this site http://www.codeproject.com/Questions/181546/Open-the-windows-form-when-click-on-crystal-report, anybody can make these in vb too?

Private Sub CRV_ClickPage(ByVal sender As System.Object, ByVal e As CrystalDecisions.Windows.Forms.PageMouseEventArgs) Handles CRV.ClickPage
        If e.ObjectInfo.Name = "vouCode" Then
            Dim frmToLoad As New Services
            frmToLoad.LoadOrders(e.ObjectInfo.Text)
            frmToLoad.Show()
        End If
    End Sub

Thank you!

 
0
 

You would have somethjing like this (not sure, you will have to play with the code a bit, have not worked on CR for quite some time now...)

With CRV ''Where CRV is your crystal report name...
    frmEdit.Show 1 ''vbmodal
   End With

This will go under the report click event.

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article