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

Generate NEW Crystal Report in Visual Basic 6.0 2

Status
Not open for further replies.

jonathans

Programmer
Apr 17, 2003
3
US
I need to learn how to create a Crystal Report and convert it to MS Word in the same program.

Can Visual Basic 6.0 generate a NEW Crystal Report using a database query? I'm using CRv4.5 that came bundled with VB6. My database is an Oracle8i DB.
 
It can, but I don't think that 4.5 can, it's just a teaser version. The folks at Crystqal are like any good Heroin dealer, the first lil taste is free...

Here's a sample area for CR 8.5 and VB, check out SimpleDemo.zip.

-k
 
You could perform this the Crytal Reports OCX control that ships bundled with VS^, but bear in mind this is an old technology that has not been updated in a long time and does not even ship anymore. Expect it to become unsupported.

This is an easy process, but you will want to look at using the RDC. A couple of lines of code an you are there.

My suggest is to upgrade to version 8.5 or 9 and take advantage of the newer technology

Cheers,

SurfingGecko
SurfingGeckoSoftware.com
 
I don't think that an application written in vb6 can create a NEW report (from scratch) using CRv4.5. At least I don't see how.

You can create reports using the newer versions of CR and the RDC, but I believe that this would require that your app use the "Report Creation API", which requires a royalty payment for each install.

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top