Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert record
Message
From
29/10/2005 05:42:43
 
 
To
29/10/2005 04:20:54
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01063232
Message ID:
01063241
Views:
8
>I have a table with lots of record, I want to insert one record at the top of it (as recno #1), the old fashion way is to copy all the records to temporer table, zap it, insert the record, re-append from the temporer table.
>
>but I think it should be another easier way.
>
>please advise
>
>thanks for the help
>
>regards,
>
>Jerry

You should never depend on the record number, that is against all rules. In stead you should have a special field to keep track of the order. If you later want to upsize to for example SQL server, which does not have record numbers at all, you will have to make a lot of redesign if you depend on record numbers.
Previous
Reply
Map
View

Click here to load this message in the networking platform