Narmada Gosula
June 18th, 2001, 07:07 AM
hi,
in my application i'm using ado's(not dataenvironment) i want the reports to be generated using the crystal reports..how to proceed ..i don't know...as i am new to vb.will anyone of you lead me in doing this.
Viji
June 18th, 2001, 08:01 AM
Hi,
I'm fairly new to this as well. But you can connect to the relevant DB through Crystal Report and then add the fileds, objects etc you require for the report. you'll have to play aroud a bit with CR to understand all this. Then you can save this as a *.rpt file and add that your Vb project. Then obviously you'll have to write the interface fn to kick of this report from ur programme.
Alternatively you can first add the *.dsr format Cry. Rport in to your project and do the report formatting there. It'll be a quite steep learning curve and hope you'll get some more help from some of the more experienced guys here ....
Good luck !!!
Vijja
Moon Howler
June 19th, 2001, 06:11 AM
Hello :-)
I have been working with Crystal Reports(CR) & VB for about 4 years now. Since you are new to VB & CR, I suggest you work through as many examples as possible. By working through the examples you will quickly learn the overall workings of VB & CR. If you really need to get up to speed fast, I suggest you purchase, if you have the funds, a multimedia programming course. I have personally used 'Keystone Learning Systems' VB courses, they also have a course on CR. I also suggest you work with CR 8 or later, because Seagate Software made things much easier with version 8 of CR. If you can swing it, you should get the developers version of CR, because they have included in that product a 'Report Designer Component(RDC)' that makes designing reports in VB a breeze. The RDC allows you to design reports within the VB development environment and provides excellent examples of linking to ADO data sources. Another note, as long as you stay with the standard types of reports that CR does best, you should not have too difficult a time integrating VB & CR, but if you stray....the Wolves will circle & attack.