C
Chad
Hello, I have a form that has a chk box defult true and when I uncheck it it
makes the form width smaller. I want to be able to make the heigth taller ar
smaller as well. How would I acomplish this? Here is the code im using to
change the width:
Option Compare Database
Option Explicit
Const FORM_SHRUNK = 4000 * 3.8
Const FORM_BIG = 8640
Private Sub chkPreview_AfterUpdate()
If Me!chkPreview Then
DoCmd.MoveSize , , FORM_BIG
Else
DoCmd.MoveSize , , FORM_SHRUNK
End If
End Sub
makes the form width smaller. I want to be able to make the heigth taller ar
smaller as well. How would I acomplish this? Here is the code im using to
change the width:
Option Compare Database
Option Explicit
Const FORM_SHRUNK = 4000 * 3.8
Const FORM_BIG = 8640
Private Sub chkPreview_AfterUpdate()
If Me!chkPreview Then
DoCmd.MoveSize , , FORM_BIG
Else
DoCmd.MoveSize , , FORM_SHRUNK
End If
End Sub