MColeman
Programmer
- Sep 23, 2002
- 242
I downloaded the RDC_VBA.exe MicroSoft Access sample
that demonstrates how the Report Designer Component and Access VBA can display a Crystal Report in the Viewer.
However, when I run the application and open a report, the viewer is very small, about an inch and a half square. The report opens in this tiny window.
Some of the things I've tried:
- resizing it at the Form_Load, Form_Activate, Form_Resize,
and CRViewer1_DownloadFinished events
- CRViewer1.SizeToFit is available only in design mode
- CRViewer1.BorderStyle = Sizable is not valid
- in design mode on the form, when I right click the
Viewer, I can change the Height and Width roperties;
I put in a number and tab off the line, the old value
returns
- in design mode, I can resize the Viewer by dragging the
outline to a larger size; at runtime it still displays in
its original 2x2 size
- increased the size of the detail section, then tried to
set the Viewer height = Me.Detail.Height, Me.SelHeight
and Me.WindowHeight
Does anyone have any other ideas I could try?
Thanks,
MColeman
that demonstrates how the Report Designer Component and Access VBA can display a Crystal Report in the Viewer.
However, when I run the application and open a report, the viewer is very small, about an inch and a half square. The report opens in this tiny window.
Some of the things I've tried:
- resizing it at the Form_Load, Form_Activate, Form_Resize,
and CRViewer1_DownloadFinished events
- CRViewer1.SizeToFit is available only in design mode
- CRViewer1.BorderStyle = Sizable is not valid
- in design mode on the form, when I right click the
Viewer, I can change the Height and Width roperties;
I put in a number and tab off the line, the old value
returns
- in design mode, I can resize the Viewer by dragging the
outline to a larger size; at runtime it still displays in
its original 2x2 size
- increased the size of the detail section, then tried to
set the Viewer height = Me.Detail.Height, Me.SelHeight
and Me.WindowHeight
Does anyone have any other ideas I could try?
Thanks,
MColeman