Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Here's what caused my C0000005 fatal error, any ideas??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00180315
Message ID:
00180537
Views:
19
>>>I do a Scan right after the filter and then reset the filter (SET FILTER TO) right after the scan. The fatal error message is reported to occur on the SCAN statement. I'll avoid using variables in filters as much as possible now, but do you think it was the cuplrit in this case?
>>
>>If that's what you're doing, I'd strongly suggest using
>>
>>SCAN FOR (filtercondition)
>>
>>instead of
>>
>>SET FILTER TO (filtercondition)
>>SCAN
>>ENDSCAN
>>SET FILTER TO
>>
>>You should see much better performance with a Rushmorized FOR clause than with a SET FILTER command.
>>
>>HTH,
>
>Thanks for the tip. Its far from being a rushmore optimized, but I'll give it a try. Thanks.
>Marcus.

Of course if you can do anything to Rushmorize it, that'll make a bigger difference than switching from SET FILTER to SCAN FOR. But at least with SCAN FOR the code will appear cleaner (IMHO).

Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Reply
Map
View

Click here to load this message in the networking platform