ac2007 button to open form

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
 

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