Event

K

katz

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
 
J

John Vinson

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]
 
R

ruralguy via AccessMonster.com

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

katz

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

ruralguy via AccessMonster.com

Will the OnLoad event work for you or do you need to look at the timer event?
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]
 
M

missinglinq via AccessMonster.com

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top