Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote Data Access
Message
De
24/10/2000 13:44:11
 
 
À
24/10/2000 13:39:27
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00433596
Message ID:
00433683
Vues:
24
>This seems like it would work but the result is the first record in the table.

Oops.. left out something...

...WHERE drawingno < current_no ORDER BY drawingno DESCENDING

or

SELECT MAX(drawingno) FROM mytable WHERE drawingno < current_no

I also wondered - if you are putting these in a VFP table first, why not order it by drawingno when you create the table? Then you can simply SKIP or SKIP -1...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform