Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why these two commands will give different results
Message
From
05/12/2006 06:42:33
 
 
To
05/12/2006 06:12:51
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01174441
Message ID:
01174867
Views:
8
SELECT SUM() finds wrong records. I re-built index Com_Inv earlier today by deleting it first.
>
>
>You did not do what I said. Why is that? I said to turn off the indexes. You made no indication that you did that.
>
>Rushmore does need indexes, but VFP and VFP-SQL can operate without them.
>
>Be scientific. Get the correct results from the DATA. Turn off all indexes. Get rid of anything that may be contributing to the problem. Focus on the data structures. Use data that you can visualize clearly. Using live data that exhibits a problem is much harder to diagnose than a small sample that exhibits the same problem.

This is, in my mind, exactly the root to many of Naomi's problems. I told her to add structural indexes a long time ago, but this was "not possible". My guess is, considering all her problems, that she should "take the costs", shut the system down the necessary minutes, and add the structural indexes. That would remove more or less all her problems in a few minutes. After the structural indexes are created, she can remove the unnecessary clauses which refers to her IDXs from her code, one by one, without any effect on her program.

Now she is so busy adding band aid all over, which takes her focus away from the real cause for her problems.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform