Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order of retrieved records in any SQL Engine
Message
From
23/02/2005 12:00:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00989667
Message ID:
00989689
Views:
43
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform