>Hi James,
>
>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.
Hi George,
Probably would not work in this case because (1) there are likely to be more than 33 controls affected at any one time -- as many as 100+ as a matter of fact.
Your solution is clever, however. I use something similar to keep track of which controls with normally calculated values have been overridden with a value entered by the operator -- a whole different set of problems arises from this requirement.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.