Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding new records under BizObj control
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00266129
Message ID:
00266594
Views:
18
> InsertLine() is supposed to add a new record at the currently highlighted line and renumber the rest of the lines.

Paul,

You may be having a problem with this being a KEY field. If I have 5 records and I insert before record 3, you may get a conflict when you try to save that record as 3 because 3 already exists. Try inserting the record, but then renumbering from the bottom up. This way 5 becomes 6, 4 becomes 5, 3 becomes 4 and then I can save the new record as 3.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform