Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
10 Things to Avoid in VFP Development
Message
From
04/01/2000 00:53:21
 
 
To
04/01/2000 00:37:16
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00310318
Message ID:
00312183
Views:
34
>Jim,
>
>The FOR clause is eqiuvalent to the SET FILTER approach IMO. The filtered grid thing IMO is the same as a BROWSE FOR command. Since we can't use a BROWSE as an Object, a SET FILTER in combination with a grid comes in.
>

It is NOT equivalent, the SET FILTER stays in effect after the operation has been performed. This is a negative side effect that should be avoided. Many of the SET commands are dangerous because they can change the way that code is evaluated and they can change at anytime durring program execution. I would prefer some sort of scoped construct that automatically resets the previous setting automatically.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform