General information
Category:
Coding, syntax & commands
>
>I'm not quite sure I understand all the nuances of this. What I understand is that if the value of a control changes one or more other controls will be impacted by the change. So basically what you have is a logical yes/no situation. If there are less than 33 controls involved, have you thought of using VFP's bitwise operators to track the changes. Assign each control a value based on a power of 2 (1, 2, 4, 8, etc.). When the value one of these controls is changed simply BITOR() its value with a custom property (ie ThisForm.flags = BITOR(ThisForm.flags, This.BitValue)). For an impacted control to find out if a change has been made, use BITAND(ThisForm.flags, This.ControlValue) # 0, where the ControlValue property contains the combined (ORed) values of the control(s) that affect it. Of course, I may not fully understand the nature of the problem, so it could be possible that this might not be a viable solution.
Actually 33 controls is not the limit - you can always use more than one field/property/variable :)
Arnon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only