Hi, Im having a problem accessing a sub routine between forms
I have three forms
FormA
FormB
FormC
FormA calls FormB modally (with backwards data links) and FormB calls FormC modally (with backwards data links)
My problem is that I have a sub routine in FormC that needs to access a public sub routine in FormA and then have some data returned.
I have tried:
(FormCs sub routine)
Dim frmFormA as FormA (FormA has no sub new declarations)
frmFormA.subroutine(declarations)
When I call FormAs subroutine, FormC exits and shows FormB modally.
I dont want to declare a new FormA in FormC as I need to have access to the data stored in FormA.
How do I declare FormA i(with current data) n FormC, access a sub routine in FormA and then return the data to FormCs sub routine?
Thank you
I have three forms
FormA
FormB
FormC
FormA calls FormB modally (with backwards data links) and FormB calls FormC modally (with backwards data links)
My problem is that I have a sub routine in FormC that needs to access a public sub routine in FormA and then have some data returned.
I have tried:
(FormCs sub routine)
Dim frmFormA as FormA (FormA has no sub new declarations)
frmFormA.subroutine(declarations)
When I call FormAs subroutine, FormC exits and shows FormB modally.
I dont want to declare a new FormA in FormC as I need to have access to the data stored in FormA.
How do I declare FormA i(with current data) n FormC, access a sub routine in FormA and then return the data to FormCs sub routine?
Thank you