cekman
asked on
Calling public procedure from form
I want to call a procedure located in one form from another form. The following syntax works great:
frm.cmb_PgmType_AfterUpdat e
Where frm = is an FORM object variable set to the form containing my procedure and cmb_PgmType_AfterUpdate is the name of the procedure being called. NOW....
I want to pass the procedure name as a variable so rather than:
frm.cmb_PgmType_AfterUpdat e
I have
frm.myvarname
only this syntax doesn't work. How can I call a form procedure where the name of the procedure is stored in a variable?
Thanks
CEKMAN
frm.cmb_PgmType_AfterUpdat
Where frm = is an FORM object variable set to the form containing my procedure and cmb_PgmType_AfterUpdate is the name of the procedure being called. NOW....
I want to pass the procedure name as a variable so rather than:
frm.cmb_PgmType_AfterUpdat
I have
frm.myvarname
only this syntax doesn't work. How can I call a form procedure where the name of the procedure is stored in a variable?
Thanks
CEKMAN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help
ASKER
Sorry I haven't responded before now - I'm not getting any emails from EE. I will try to test your answer in a day or two and get back here to give you points.
Thanks
CEKMAN