Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't count values=0 (zero)
Message
 
 
To
30/07/2001 09:34:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537154
Message ID:
00537163
Views:
19
This message has been marked as the solution to the initial question of the thread.
If you are using VFP 5 than MSKB#Q164869 maybe relevant to your problem.
Otherwise turn off Rushmore SET OPTIMIZE OFF and run again. If you get correct result delete all indexes an recreate them from scratch.

>Hi all.
>I have a table with an integer field. I have several zero values and several non-zero values. If I issue this command:
>count all for field1<>0 to intx
>I get intx=5 or whatever, but this:
>count all for field1=0 to intx
>gets me 0 records.
>By the same token:
>replace all filed1 with 4 for field1<>0 replaces all non-zero records, but;
>replace all field1 with 4 for field1=0, replaces nothing.
>What am I missing?
>TIA
>Ulises
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform