Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid load large cursors fast but small groups very slow
Message
From
18/07/1997 08:12:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040340
Message ID:
00040527
Views:
40
>>>>> ... WHERE ... AND .T. = .T. ...
>>>>>
>>>>>This force VFP to create a temp table for the cursor and will speed up your grid display.
>>>>
>>>>I use the field AS fieldname which also forces a cursor.
>>>>
>>>>SELECT *,0 AS DUMMY FROM ...
>>>Michel,
>>>
>>>That works too.
>>>
>>>Except if the result strucutre is critical, then WHERE .T. = .T. doesn't add a field to the result. NOFILTER is the best way in my book (if we are talking VFP 5.0).
>>
>>Thanks, but is .T.=.T. still fully optimizable?
>Michel,
>
>.T. = .T. doesn't look at any data in any table so optimization is irrelavent.

Ok, thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform