|
-
Mar 23rd, 2004, 02:23 PM
#1
Thread Starter
Lively Member
Crystal Display in Page Width
Hi, I want the report to show in Page Width. I can use the crviewer's zoom property and set it to 100 but it does not do exactly what I need. Is there a constant that represents the 'Page Width' option?
-
Mar 23rd, 2004, 03:03 PM
#2
From the help file.
ZoomLevel
The zoom level to use to view the report As Integer. Indicate a percentage, or use 1 to fit the entire width of the page in the Report Viewer window (but not the entire page) or 2 to fit the entire page in the window.
So -
CRViewer.Zoom 1 'for page width
-
Mar 23rd, 2004, 04:15 PM
#3
Thread Starter
Lively Member
Hey brucevde long time no see!
MUCHAS GRACIAS AMIGO ! !
-
Oct 28th, 2004, 02:18 PM
#4
Addicted Member
I have a problem with the zooming..
VB Code:
Function ViewCrystal(strPath As String)
frmMain.crvEnroll.Visible = True
strPath = App.Path & "\files\" & strPath
'this is the problem, the change of left & top values works.
'but the zoom does not
frmMain.crvEnroll.Top = 60
frmMain.crvEnroll.Left = 4
frmMain.crvEnroll.Zoom 1
Set objCrystalApp = New CRAXDRT.Application
Dim objReport As CRAXDRT.Report
Set objReport = objCrystalApp.OpenReport(strPath)
frmMain.crvEnroll.ReportSource = objReport
frmMain.crvEnroll.ViewReport
Set objReport = Nothing
End Function
Oooops.....theres another semi-colon in the wrong spot....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|