Start New Discussion within our Software Development Community

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 from this site, 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
        End If
    End Sub

Thank you!

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.

This article has been dead for over six months. Start a new discussion instead.