Re: Multiple events possible?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Perhaps Access needs a restart before the change of option takes effect?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"LyndsyJo" <LyndsyJo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:22825EA8-7ED7-46B4-94B7-BB8D0A2D7639@xxxxxxxxxxxxxxxx
Is it possible to have 2 things run in the OnOpen event of a form? I need
to
add

Application.SetOption "Default Find/Replace Behavior", 2

to the OnOpen event of my switchboard (which is my startup form), but
there's already an event procedure there (created by the Switchboard
Manager). I tried plugging the above command into the event procedure,
but I
don't know anything about Visual Basic, so of course it's not working.

Please let me know if there is other information I need to provide.
Thanks.


.



Relevant Pages

  • Re: Creating a Multi-User Login
    ... from the Click event procedure of a button on the form as it requires both ... DoCmd.OpenForm "Switchboard" ... Private GoodLogin ... You can then call the AssessLogin function as the AfterUpdate event property ...
    (microsoft.public.access.gettingstarted)
  • Re: HOW DO I ACCESS A WORD DOCUMENT FROM AN ACCESS PAGE?
    ... Use something like this in the button's Click event procedure: ... >I want to set up a command button on my switchboard, ... Prev by Date: ...
    (microsoft.public.access.gettingstarted)
  • Re: Open Form in Maximized View
    ... If you don't have an Event Procedure defined for the form's Load event, ... Doug Steele, Microsoft Access MVP ... switchboard to open up in the maximized view. ... and have created a macro to maximize the active screen. ...
    (microsoft.public.access.forms)
  • Re: Me.Command0.Visible = CurrentUser = "ManagerUserName"
    ... > The switchboard opens on startup, but I would like only the ... Create an event procedure for the Switchboard form's Close event, ... Private Sub Form_Close ... Dirk Goldgar, MS Access MVP ...
    (microsoft.public.access.forms)