Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
X number of records before and after a certain record.
Message
From
03/09/1998 06:57:12
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00132496
Message ID:
00132692
Views:
15
Hi,

Try something like this:

SELECT TOP 100 ... FROM ... WHERE custname (morethan) lcvarname ORDER BY custname

SELECT TOP 100 ... FROM ... WHERE custname (lessthan) lcvarname ORDER BY custname DESC

Union this cursors and reorder by custname ( not using UNION because must have ORDER BY in both SELECT ).
Previous
Reply
Map
View

Click here to load this message in the networking platform