各位大大,請問一下開啟報表能否固定視窗的大小,我知道表單是↓
Private Sub Form_Resize()
If Me.InsideWidth <> 5000 Then Me.InsideWidth = 5000
If Me.InsideHeight <> 2500 Then Me.InsideHeight = 2500
End Sub
我試著改這樣↓
Private Sub Report_Resize()
If Me.InsideWidth <> 5000 Then Me.InsideWidth = 5000
If Me.InsideHeight <> 2500 Then Me.InsideHeight = 2500
End Sub
但綠色部份出現"編譯錯誤: 找不到方法或資料成員"