You need to change the event handler from Private
to Public. Then:
Set frm = forms("frmName" )
CallByName frm "procedure_name "
or
Run "forms('frmName ').procedure_na me"
(but for form procedures the 'run' method will
run the procedure twice every time you call it.)
In A97, there was a way to call form procedures
directly: Run "form_frmName.p rocedure_name", but that
breaks the modern interface paradigm so it was disabled.
(david)
"BUX" <No****@NoSpam. it> wrote in message
news:ib******** *************** *********@4ax.c om...
I have to call Forms!myForm.my Control_AfterUp date using
myString = "Forms!myForm.m yControl_AfterU pdate".
I have tried with
Application.Run myString
Call myString
eval myString
but no one work.
I tried also using the class module name:
myString= "Form_myForm.my Control_AfterUp date"
but it work only if is used without quote in debug window.
Have you any suggestion?
thank you
BUX