×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simple Crystal Report through VB

Simple Crystal Report through VB

Simple Crystal Report through VB

(OP)
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.

RE: Simple Crystal Report through VB

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/

RE: Simple Crystal Report through VB

(OP)
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...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close