Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count filtering
Message
From
27/01/2009 04:46:07
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01377246
Message ID:
01377249
Views:
17
This message has been marked as the solution 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

As long as there is no PIZZA and LOC in one prog_long this is true

Do you mean you like to have all SP but not PIZZA and LOC?

then try
COUNT FOR  UPPER(state) = "SP" AND NOT ("PIZZA" $ UPPER( prog_long) OR "LOC" $ UPPER(prog_long ))  TO est_reemb
HTH Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform