L
Louie Warren
I am new to VB... I inherited the following bit of code
in a database I am trying to work with; I was told it
autosizes the form on Open:
Private Sub Form_Open(Cancel As Integer)
Dim rctOriginal As adhTypeRect
Call adhScaleForm(Me, 800, 553, 96, 96, rctOriginal)
DoCmd.Maximize
DoCmd.GoToRecord , , acLast
DoCmd.GoToRecord , , acFirst
End Sub
After modifying the form to reflect the change from an
Access backend to an Oracle backend, every time I would go
back to form mode, the form would increase... I guess by a
font size. This happened slowly and eventually, it was
huge (24 or so)! The problem is, it never returns
to "normal size". I commented out everything in the code
except the 1st line, the end, and the DoCmd.Maximize. Now
the detail area is blank/gray in datasheet/form mode. The
fields are there in design mode.
What have I done and how can I fix it? Thanx!
L
in a database I am trying to work with; I was told it
autosizes the form on Open:
Private Sub Form_Open(Cancel As Integer)
Dim rctOriginal As adhTypeRect
Call adhScaleForm(Me, 800, 553, 96, 96, rctOriginal)
DoCmd.Maximize
DoCmd.GoToRecord , , acLast
DoCmd.GoToRecord , , acFirst
End Sub
After modifying the form to reflect the change from an
Access backend to an Oracle backend, every time I would go
back to form mode, the form would increase... I guess by a
font size. This happened slowly and eventually, it was
huge (24 or so)! The problem is, it never returns
to "normal size". I commented out everything in the code
except the 1st line, the end, and the DoCmd.Maximize. Now
the detail area is blank/gray in datasheet/form mode. The
fields are there in design mode.
What have I done and how can I fix it? Thanx!
L