Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to return what VFP will do to my code?
Message
 
To
19/12/2018 07:19:36
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664494
Message ID:
01664645
Views:
40
>>Hi Cetin,
>>
>>I actually do not use SET FILTER a lot anymore. Used in an older class mostly which I am now making some small performance changes to.
>>
>>When I did use SET FILTER, it was to basically skip some records. In the one case, the grid would show all the contacts for a company and then the user had a checkbox where they could "hide inactive contacts" (which was a flag field). When they checked the checkbox, the code would set the filter to:
>>
>>SET FILTER TO Inactive = .F.
>
>I prefer Set Filter to !inactive

I would call the field Active, so it will be SET FILTER TO Active
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform