J
Jeffrey Cox
Hi everybody,
I'm using Access 2007 and I have a form with varios buttons that open
different forms.
The problem is that when I press a button to open a split form, the form is
longer than I designed it. The form is a split form with the datasheet on
the left. If I open the form from the panel on the left, it opens at the
correct size! So, it has something to do with the button. I've tried the
following code with and without the acWindowNormal. No change.
Private Sub btnAlunos_Click()
DoCmd.OpenForm "fmAlunos", , , , , acWindowNormal
End Sub
Other buttons open normal forms and there is no problem, it only happens
with split forms.
Any ideas really welcome, as I've tried different things with no luck.
Thanks for any advice,
Jeff
I'm using Access 2007 and I have a form with varios buttons that open
different forms.
The problem is that when I press a button to open a split form, the form is
longer than I designed it. The form is a split form with the datasheet on
the left. If I open the form from the panel on the left, it opens at the
correct size! So, it has something to do with the button. I've tried the
following code with and without the acWindowNormal. No change.
Private Sub btnAlunos_Click()
DoCmd.OpenForm "fmAlunos", , , , , acWindowNormal
End Sub
Other buttons open normal forms and there is no problem, it only happens
with split forms.
Any ideas really welcome, as I've tried different things with no luck.
Thanks for any advice,
Jeff