from loses close button

  • Thread starter Thread starter Asha
  • Start date Start date
A

Asha

Hi have a form that has a tab control in it. In the form
I have added some command buttons. One preview's a
report, another does a find for a new record, the third
command button adds a new record. There are 5 tabs on my
table control and each tab has these three command
buttons. When I click on any of the command buttons on
any tab controlled page and then close the command button
event, the main form losses it's close button and does not
stay maximized. I have checked the properies of the form
and the close button is enabled. Also, I have created a
macro that maximizings the form. The events I am using
this is on load, on open. please help
Thanks
Asha
 
To make the form maximize in the VB editor change the on
activate event of the form type in the following code

docmd.maximize.

Whenever the focus returns to main form it will
automatically maximize.

What does your code look like on the click event for the
close button.
 
Back
Top