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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Crystal Report through VB 1

Status
Not open for further replies.

jenlion

IS-IT--Management
Nov 13, 2001
215
Hi, I'm looking for information on how to open a crystal report and send it parameters from a VB application. I have VB6 and Crystal 8, and I've included the Crystal ActiveX Viewer, Report Viewer Control, and Select Expert OLE control module. That's probably overkill, but I don't know what component will do what I need.

Which component do I need to add to my VB6 project to open and run a Crystal Report?

How do I send this report parameters from Visual Basic? I'm not seeing ParameterField as an option on any of them.

An example of what to add to my project and the code to open and pass parameters would help me a lot. Thanks.
 
see VB sample codes provided by Crystal Decisions that will be available on your system at this directory
C:/program files/Seagate Software/Crystal Reports/Samples/En/Visual Basic/
 
Thank you Ashwanikk but the code is not an option for me -- I am using version 8 professional, I think maybe it is only under developers? I see the option, but may not check it on install.

I am very close to finishing what I need to do, all I lack is actually setting VB up to open the report and passing a parameter...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top