Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order of retrieved records in any SQL Engine
Message
De
23/02/2005 12:00:20
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00989667
Message ID:
00989689
Vues:
42
>Craig,
>we are using autoinc primary keys but in a number of places the user can change the order of the lines or insert a new line in the middle of the invoice. ie. add a comment under an existing line. The primary line keys can't be used for the order.
>
John,

Maybe you could add a line number field to your invoice table, then, just before saving, loop through your invoice records and add the line numbers in sequential order.

HTH,
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform