Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key in New Record
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Primary Key in New Record
Divers
Thread ID:
00856273
Message ID:
00856273
Vues:
45
I am entering FOLKO Customer ID in the Customer Order screen (C# sample). The last selected record has 11050 order ID primary key. Click on a New button creates a new record with the next, 11051 PK, but this PK belongs to another customer and has its own Order Details which are shown up on the Properties page. After saving the PK becomes what it supposed to be, 11083, the next in the Orders table, not next in the selected dataset, but Order Detail records are still there with wrong 11051 Order Id. It this behavior by design? Should I program getting the correct PK by myself?

Thanks

Slava
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform