Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to limit display records in grid
Message
From
02/06/1997 13:20:26
 
 
To
02/06/1997 11:49:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00034456
Message ID:
00034534
Views:
38
how many records are returned ? Arnon >like >Select * ; > from mytable; > where upper(myfield) > [SOMETHING]; >into cursor >then it going like turtle ;( (about 80-90 sec). I sure that this table >have index Upper(myfield) and then this query should be fully optimizable, >but SYS(3054,11) tell me info that this query is partially optimizable. I >can't figure out what's wrong. No matter that myfield is character, the >same happens with numeric field > >Have a happy day >Vladimir Shevchenko > >> In the INIT method of the grid, issue a select statement with your >filter > >> as the WHERE clause. If the WHERE clause is based on Indexed fields, >this > >> is very fast. Base the control source of the grid to the cursor and you >> will get blazing performance. > >
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform