Hide a Button

Hi… Does any one know how to Invisible a command button on same database but different company, example I added, lets say test button above General Ledger button. is it possible when open company A visible then when I open company B button test invisible ? thanks for your kind help… regards AKO

In the OnOpenForm, you could add the Code looking like this. If CompanyName = A then Currform.Button.visible (true) else CurrForm.Button.visible (false;

Thanks Peeters, It’s work fine… Regards AKO