Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intermittent errors
Message
 
To
26/11/2002 15:19:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727256
Message ID:
00727301
Views:
11
This message has been marked as the solution to the initial question of the thread.
Hi Henry,

>Thanks for your quick response.

no problem!

>If I understand correctly, without NOFILTER, the result is not 'always' written to disk as a temp table and therefore can be inaccessible to subsequent queries ?

That's correct!

>Just out of curiosity: how is it stored without NOFILTER (or the extra column) ? I'm just trying to understand the intermittent nature of the error.

VFP sometimes simply creates a filtered "view" on a table when you're doing a query - just like you could do with the SET FILTER (that's why they called that VFP7/8 keyword NOFILTER) command. Therefore, the result is only available in memory.

In previous versions of VFP you needed to add a constant to a Select's field list to force VFP to create a temporary table on the HD. From VFP7 on, you can use the NOFILTER keyword to force that behaviour. So if you want to be sure that you can access a query result in subsequent queries, do one of those two things. But you have to be aware that using one of these two options can slow down your queries. If you don't really need them, leave them away.

BTW: There's a quite good explanation of this in the VFP7/VFP8 help file in the SELECT-SQL command description.

Hope this satisfies your curiosity :)

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform