Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB5 w/Crystal Report Controls 4.6 - Crystal Info 6 - SQL Sever

Status
Not open for further replies.

heybooba

MIS
Mar 10, 2001
11
US
I have a need to create a VB front end process to allow users to launch crystal reports from command buttons. Unfortunately, I don't know what I'm doing. Does anyone have sample source code that they could share with me. In a nutshell, this is the code that I'm using ;
Private Sub CmdSQLFS_Click()
CrystalReport1.ReportFileName = "J:\cinfo\input\MICR\fsd_micr.rpt"
Result% = CrystalReport1.PrintReport
CrystalReport1.Action = 1
End Sub

I have also tried including CrystalReport1.connect and CrystalReport.LogOnServer ...with no success.
 
heybooba: Your problem is that you are trying to execute a report created within Info - no can do without major VB coding effort! David C. Monks
david.monks@chase-international.com
Accredited Crystal Decisions Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top