Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count filtering
Message
From
27/01/2009 04:53:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01377246
Message ID:
01377250
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>Can not filter using $
>
>Both lines below count the same, though many fields contains "PIZZA" and "locadora"
>
>COUNT FOR UPPER(state) = "SP" TO est_reemb
>
>COUNT FOR UPPER(state) = "SP" AND (NOT "PIZZA" $ UPPER( prog_long) OR NOT "LOC" $ UPPER(prog_long )) TO est_reemb

If you want to exclude any rec with "PIZZA" or "LOC" in them then surely you need

... AND NOT "PIZZA" $ UPPER( prog_long) AND NOT "LOC" $ UPPER(prog_long )
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform