Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
X number of records before and after a certain record.
Message
De
03/09/1998 06:57:12
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00132496
Message ID:
00132692
Vues:
14
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 ).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform