Solved

open crystal report in 100% magnification

Posted on 2004-03-24
16
440 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
0
Comment
Question by:daniellyh
  • 9
  • 3
  • 3
  • +1
16 Comments
 

Expert Comment

by:tounghuat
ID: 10674026
Hi,
if u are using crystal report viewer to preview the report, mayb can try this code:     CRViewer.zoom = 100
0
 
LVL 2

Expert Comment

by:syed555
ID: 10674509
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
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10675443
hi,
i will try. thx for ur ans.

will feed back tomorrow..

daniel
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10676103
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
0
 

Expert Comment

by:tounghuat
ID: 10683937
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
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10685606
hi,
ic. then any way to see in 100% using crystal report control?

daniel
0
 

Expert Comment

by:tounghuat
ID: 10701576
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....
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10724208
hi,
will try it n see whther is suitable for me...

daniel
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:daniellyh
ID: 10728680
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
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 30 total points
ID: 10729214
Try this

CrystalReport1.PageZoom (100)

mlmcc
0
 
LVL 1

Author Comment

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

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

remember?thx....

n for everyone thx for ur effort too..
daniel
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10747782
Glad I could help

mlmcc
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10751223
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
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10751978
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
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10754059
hi,
i will try above said method n respond to u in this few days.

daniel
0
 
LVL 1

Author Comment

by:daniellyh
ID: 10785094
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.
http://www.experts-exchange.com/Databases/Crystal_Reports/Q_20948007.html

rgds,
daniel
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Crystal Report Grouping 8 66
Join issues with Crystal Report 10 63
Crystal Report GH Suppress Formula not acting as expected 10 28
Selection between two dates and time range. 21 25
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now