Does anybody know of a reliable way to start at the top of a form's hierarchy and navigate through the entire hierarchy, firing off the validation events of each object for which a validation event is appropriate? The hierarchy includes several layers of subforms and several dynamic subforms.
Views
Replies
Total Likes
The execValidate() function will fire the Validate event of an object and all of its children .....so if your root node is form1 you woudl use form1.execValidate()
Paul
Views
Replies
Total Likes
That's interesting. Now I'm wondering why the people who developed the code I'm looking at just didn't do it with one line instead of walking through the hierarchy field-by-field.
Views
Replies
Total Likes
Probably didn't know any better.
paul
Views
Replies
Total Likes
The sad thing is, they still know more than I do.
Views
Replies
Total Likes