Preview report in Maxmized view

M

Michael Lam

Dear all

I have created a database with forms not in the maximized view

The button to preview a report is shown as below

Private Sub FaultReq_Click()
On Error GoTo Err_FaultReq_Click

Dim stDocName As String

stDocName = "RequestByDeptReject"
DoCmd.OpenReport stDocName, acPreview

Exit_FaultReq_Click:
Exit Sub

Err_FaultReq_Click:
MsgBox Err.Description
Resume Exit_FaultReq_Click

End Sub

Is there any way to configure so that all reports are preview in maximzed
view ?
 
R

Rick Brandt

[snip]
Is there any way to configure so that all reports are preview in maximzed
view ?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
In each report's Open event...

DoCmd.Maximize
 
G

GP03D

thx
Rick Brandt said:
[snip]
Is there any way to configure so that all reports are preview in maximzed
view ?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
In each report's Open event...

DoCmd.Maximize
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top