Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new records under BizObj control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00266129
Message ID:
00266594
Vues:
19
> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform