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!

Crystal Reports & Visual Basic - How to register?

Status
Not open for further replies.

Corinne

Programmer
May 15, 2001
146
US
I'm having quite a time getting started with Crystal. Here's what I'm working with: VB6.0(sp4), SQL7, ADO. The application I'm working on is fairly simple just a phone listing for the company, drawing on 3 tables in the database. I need to know what part I'm missing on registering the crystal with visual basic. I've gone to components and added the crystal reports viewer control & placed it on my form. Some of the examples I've seen show:
Dim Report As New CrystalReport1. When I go to do this the CrystalReport1 is not a choice. This leads me to believe that I have not referenced something correctly between VB & crystal. I'm still very new to this so if I've left out some information that can help you answer this question for me please just respond back so I can update you. Thank you in advance for any help.

Corinne
 
The object CrystalReport1 is the name of your Crystal Report that you have created with the Crystal Report Designer inside of the VB development environment.

If you called your report ABC then the statement would be:

Dim Report as ABC Brian J. Alves
Terrier Consulting, Inc.
Email: brian.alves@worldnet.att.net
VB / Crystal / SQLServer
 
Thank you so much, once I read what you said about the Crystal Report Designer & added it to the components I saw what you meant. Thanks again

Corinne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top