Getting events to run on form open

xcmav66

Registered User.
Local time
Today, 02:32
Joined
Oct 29, 2008
Messages
29
I know this is a stupid question, but how do I make certain events run when I open the form? How about each time I select a different data row (click the forward/backward buttons)? I need a set of events to run every time one of these things happen. Thank you.
 
You can use the forms OnLoad() event and the forms OnCurrent() event

The subs actually run before the user sees the form when used on the OnLoad() event so if they are lengthy routines this will delay the form opening.

The OnCurrent events happen when using a bound form when the recrod pointer moves from one record to another.


David
 
Awesome thanks.
 

Users who are viewing this thread

Back
Top Bottom