General discussion

Locked

VB 6-Crystal Report

By martingopurathingal ·
Hi
pls give a answer for the following.
How can run a crystal report in vb 6.
I have already build a crystal report but I want to select the parameters from the form (vb front end). And also use odbc connection and database through the vb

pls give suitable instructions to me

thanking you

with reg
martin

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

by nomikhan_1979 In reply to VB 6-Crystal Report

first you have to retrive the component of crystal report
rpt1 is the name of componenet
and on click event you can write this code
code start from here

If Option1.Value = True Then
RPT1.SelectionFormula = "{MD.ID}= " & """" & Text1.Text & """"
RPT1.RetrieveDataFiles
RPT1.Action = 1
End If

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums