Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Takes too long to SEEK
Message
From
08/12/1997 12:11:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/12/1997 09:26:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00064114
Message ID:
00064472
Views:
38
>>>clicking button 2 changes the form's caption to .04
>>>clicking button 3 changes the form's caption to .01
>>>clicking button 2 again changes the form's caption to .02
>>>clicking button 1 (go to top of table) changes the form's caption to 2.36
>>>
>>>Any idea what's going on? anybody?
>>
>>I used an index set to ingrid search field. Without setting manually you should use Rushmore optimizable expressions and instead of go top and go bottom (these do it sequentially) use locate or seek "" (for go bottom use the index desc.).
>>Cetin
>
>Ok fine. I reconstructed the test to use first seek ("A", "M", "Z"), and then locate for("A", "M", "Z"). Same exact results. This has nothing to do with search method, Rushmore, or indexes. The delay is being caused by the grid refresh. (I have tested SPECIFICALLY for this).

Hi,
If search time has nothing to do with this (all are fast)
then could it be something like *set deleted on* and no index on deleted(),
some of grid columns controlsource prop are set to udf() or something like activerow,
filter etc ?
Especially if you have a column with controlsource = this.activerow then refresh would be so slow.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform