>Hi all
>
>At the time of saving a form I need to call a method. This method needs to be called only if atleast one control on the form (drill-down to containers) has a property set to a particular value. Do we have something generic floating out there which can query the controls for me or should I have to write a recurring method to do this?
>
>Please advise.
>
>Thanks and regards,
If all of the controls have an assign method for this property and they call some form's method, then you can run this method for every control my setting this property to something with SetAll
thisform.SetAll('myCustomPropertyWithAssignMethod', 'Some value indicating that we need to run a method')
If it's not broken, fix it until it is.
My Blog