In A2k, I have a mainform with a subform. During processing within the subform (under certain conditions), I set a variable (defined in the subform as Public Boolean) to True.
Later when I get back to the mainform, I check the variable (also defined in the mainform as Public Boolean) to see if it is True or False and proceed accordingly. However, the variable remains False regardless of being set in the subform. How can I pass a parameter between the mainform and subform?
Am I losing the value through initialization when focus returns to the main form?
Later when I get back to the mainform, I check the variable (also defined in the mainform as Public Boolean) to see if it is True or False and proceed accordingly. However, the variable remains False regardless of being set in the subform. How can I pass a parameter between the mainform and subform?
Am I losing the value through initialization when focus returns to the main form?