
Very perplexed newbie- HELP!!
Hi Alison,
Create your report with
Crystal Reports Designer and save the .rpt file.
In VB, add the Crystal Report component to your form and then use code like
the following:
CrystalReport1.FileName = "c:\MyReport.rpt"
CrystalReport1.Destination = crptToWindow
CrystalReport1.PageFirst 'I'm not sure what this does, but, I found it
was better to include it.
CrystalReport1.Action = True
Bob Holmes
Quote:
> Hi guys
> Sorry if this question is naive but, I have installed the
> Crystal ocx which is shipped with VB 6.0. I also have
> Crystal reports 8.0 installed on my PC. As part of my VB
> application, I want to display a Crystal report- I'm just
> not sure what to do.
> Thanks
> Ali