A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Event



 
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2006, 06:57 PM posted to microsoft.public.access.forms
katz
external usenet poster
 
Posts: 49
Default Event

Hello All!
Is it possible to trigger an event after the form was opened (as soon as it
opened) without pressing any keys.
The On activate or the On got focus doesn't work.
Thanks
Abe


  #2  
Old December 3rd, 2006, 08:43 PM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default Event

On Sun, 3 Dec 2006 13:57:51 -0500, "katz"
wrote:

Hello All!
Is it possible to trigger an event after the form was opened (as soon as it
opened) without pressing any keys.
The On activate or the On got focus doesn't work.
Thanks
Abe


Try the Form's Open event - which occurs before the form's records
have been retrieved, and can be cancelled - or its Load event, which
occurs after the controls have been loaded with the data from the
selected record, before the user starts interacting with the form.

John W. Vinson[MVP]
  #3  
Old December 4th, 2006, 12:07 AM posted to microsoft.public.access.forms
ruralguy via AccessMonster.com
external usenet poster
 
Posts: 1,172
Default Event

What are you trying to accomplish? Maybe the OnLoad event will work for you.

katz wrote:
Hello All!
Is it possible to trigger an event after the form was opened (as soon as it
opened) without pressing any keys.
The On activate or the On got focus doesn't work.
Thanks
Abe


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com

  #4  
Old December 4th, 2006, 10:49 PM posted to microsoft.public.access.forms
katz
external usenet poster
 
Posts: 49
Default Event

I'm trying to put out a message on the switchboard after it was opened
already, on a certain criteria.
Thanks

"ruralguy via AccessMonster.com" u12102@uwe wrote in message
news:6a3b254046ebb@uwe...
What are you trying to accomplish? Maybe the OnLoad event will work for
you.

katz wrote:
Hello All!
Is it possible to trigger an event after the form was opened (as soon as
it
opened) without pressing any keys.
The On activate or the On got focus doesn't work.
Thanks
Abe


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com



  #5  
Old December 4th, 2006, 10:55 PM posted to microsoft.public.access.forms
ruralguy via AccessMonster.com
external usenet poster
 
Posts: 1,172
Default Event

Will the OnLoad event work for you or do you need to look at the timer event?

katz wrote:
I'm trying to put out a message on the switchboard after it was opened
already, on a certain criteria.
Thanks

What are you trying to accomplish? Maybe the OnLoad event will work for
you.

[quoted text clipped - 6 lines]
Thanks
Abe


--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1

  #6  
Old December 5th, 2006, 03:06 PM posted to microsoft.public.access.forms
missinglinq via AccessMonster.com
external usenet poster
 
Posts: 545
Default Event

BTW, Abe, GotFocus only works for a form if the form either A) has no
controls on it or B) all visible controls are disabled. The OnActivate only
fires if you have two or more windows open in Access and you switch from one
to another.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200612/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.