Form_Object.procedure variable

Gav White

Registered User.
Local time
Today, 21:43
Joined
Jul 16, 2003
Messages
12
Hi all;

Sorry to bother you with this but if you know how I can run procedures in other forms by using a variable as a form name I would love to know...as this will save me typing in a massive amount of case statements.

Am currently using :

Form_Address.DeleteMember memID

but when I set up a form object variable and try to run the same proc it says their is an Object Defined Error.

Any hints out there??
 
If you intend to run a sub or function from more than one place then move it out of the scope of the form the sub is on into a Public Sub or Public Function in a module.
 

Users who are viewing this thread

Back
Top Bottom