Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Report zoom level

Status
Not open for further replies.

toon10

Programmer
Mar 26, 2004
303
DE
Hi

I have a data report in my VB6 app which I open up through code. This works fine but the report opens up with a zoom level of 100%. I want to be able to open the report to 75% or maybe "fit to page" automatically as the bottom of the report is hidden under 100% zoom.

Is there an easy way to set the zoom level?

Thanks
Andrew

Code:
Private Sub cmdPrint_Click()
On Error GoTo Err_Print_Click
    Dim Msg, Response, Title, Style As String
    Dim i As Integer

    With envData
        .rscmReport_Grouping.Open
    End With

    If optScreen = True Then 
        With XAM7000Report
            .Orientation = rptOrientPortrait
            .Show
            .Visible = True
        End With
    End If
...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top