We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

open crystal report in 100% magnification

daniellyh
daniellyh asked
on
Medium Priority
473 Views
Last Modified: 2007-12-19
hi,
i got a vb program that call some crystal reports. but i wonder why every report display 69% magnification?i need to manually adjust it to 100%?any way to make it display at 100% at default?i can't find it.

thx n rds,
daniel
Comment
Watch Question

Hi,
if u are using crystal report viewer to preview the report, mayb can try this code:     CRViewer.zoom = 100

Commented:
Hi,
  Also try this method.
  In Report Designer, go to file, options, Layout. Set the Preview pages option to Full Size (100%). yours must be set to 'Fit Width'. thats why its trying to fit the width and reducing to 69%.

Syed

Author

Commented:
hi,
i will try. thx for ur ans.

will feed back tomorrow..

daniel

Author

Commented:
hi guys,
i've try to do the report setting at file->option->layout but the result is still the same.

i m using crystal reports 8.5, in vb i include component crystal report control (crystl32.ocx) so i can't found option to set .zoom = 100.

pls provide more help. thx.

daniel
hi,
u need to have a crystal report viewer control in your form to enable you to hardcode the option of .zoom = 100
".zoom" is one of the crystal report viewer control properties, not crystal report control properties.
Not yet tested using version 8.5, but i could set the option .zoom = 100 in version 8.0 and 9.0. of the crystal report.

huat

Author

Commented:
hi,
ic. then any way to see in 100% using crystal report control?

daniel
hi, dun know whether this would help or not.

www.avdf.com/jan98/art_vb003.html

wat it does is try to make the preview is in a new form and set the forms' property windowstate to maximized.

huat....

Author

Commented:
hi,
will try it n see whther is suitable for me...

daniel

Author

Commented:
hi huat,
it seems not wat i m looking for. anyway thx for ur effort.

actually my requirement seems very easy. but is it really so difficult to do it?

daniel
Senior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
hi mlmcc,
ur way work well n simple. thx!
u still got 1 question with me at

https://www.experts-exchange.com/Databases/Crystal_Reports/Q_20835775.html

remember?thx....

n for everyone thx for ur effort too..
daniel
Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
Glad I could help

mlmcc

Author

Commented:
hi mlmcc,
i got a problem again. i just realise ur method doesn't work for every report, even i put that command some report still not displaying in 100%, but some of them does. why?anything else i need to beside that command?

daniel
Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
I can't think of anything off the top of my head.

Are you calling all the reports in the same way?

Is the ZOOM enabled on all reports?

There is an option in the report for how big to open it.
Open Crystal (no report)
Click FILE --> OPTIONS
In CR7 one of the frames on the top tab is PREVIEW PAGES
Click OPEN FULL SIZE

Close Crystal

You may have to adjust some of the reports
Open each report
Click FILE --> REPORT OPTIONS
In CR7 one of the options is PREVIEW PAGES START WITH
Select FULL SIZE

mlmcc

Author

Commented:
hi,
i will try above said method n respond to u in this few days.

daniel

Author

Commented:
hi mlmcc,
ur method worked. now i can display all reports in 100% magnification. thx a lot for it.

btw, i just post 1 new q for crystal report. pls hav a look when u r free.
https://www.experts-exchange.com/Databases/Crystal_Reports/Q_20948007.html

rgds,
daniel
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.