General information
Category:
The Mere Mortals .NET Framework
Thank you Kevin.
I'll check it out.
Slava
>Slava,
>
>>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?
>
>Check out the MM .NET Dev Guide topic "Using Custom Auto-Increment Logic" for information on this. What you're seeing is the default behavior of ADO.NET. There are properties you can set on the business object to alter this behavior.
>
>Regards,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only