Run Code every Time any form is loaded in the database.



I want to run the following code every time a form is loaded or unloaded,
without adding code to every form in my database. Any ideas?

DoCmd.ShowToolbar "NoMenu", acToolbarNo

I have just too many forms to add same code to all of them individually.

Thanking everyone in anticipation.

Sincerely,

Naveed


.



Relevant Pages

  • =?Utf-8?Q?British_pound_symbol=2C_=C2=A3=2C_will_no?= =?Utf-8?Q?t_save_correctly_to_the_data
    ... When I save a British pound symbol, £, to the database, it does not save ... followed by a British pound symbol, if it doesn't display correctly here). ... Thanking you in anticipation. ...
    (microsoft.public.sqlserver.programming)
  • Re: Count error
    ... I have taken that on board, thanking you very much. ... and not the entire lot in the database. ... > You then create a main form bound to the Job table, with a subform bound ... rather than allenbrowne at mvps dot org. ...
    (microsoft.public.access.formscoding)
  • Re: Restore document
    ... I did some research and found some recycle bin concept. ... Andy ... >> delete from the database or still keeps the data for a while in the ... >> Thanking you, ...
    (microsoft.public.sharepoint.portalserver)
  • Re: looping through toolbars
    ... 'Set Microsoft DAO 3.6 Object Library" in Tools/References ... Dim dbs As Database ... DoCmd.ShowToolbar strToolbar, acToolbarNo 'hide it ... DoCmd.ShowToolbar "Database", acToolbarNo ...
    (comp.databases.ms-access)
  • Re: Restore document
    ... > I did some research and found some recycle bin concept. ... >>> delete from the database or still keeps the data for a while in the ... >>> Thanking you, ... >>> Andy ...
    (microsoft.public.sharepoint.portalserver)