>Thanks...
>The problem is when u close the form. You have to Hide() it in the unload event of the form right? and what happens to the remaining form ? there is no generic toolbar to manage its records.
>??
Once I had a toolbar with these characteristics the only diference is that I didn't hide the toolbar it was always present but when there was no form loaded the buttons were disabled but the basic concept is the same. Just check if there's any form open and hide the toolbar:
I putted this code in the destroy event of my form's class and it worked.
If _Screen.Formcount <= 2
_Screen.Toolbar.Hide
EndIf
HTH, Enmanuel
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain