Robert,
>Hello. In my ABusinessObject I have set Me.RetrieveAutoIncrementPK = True, but it's not getting the auto inc key. After I add a new record to me BO
>the PK is set to 0. I'm expecting to see a PK of 2.
You won't see the new primary key value until you save the record. SQL Server assigns this value when you save a new record, and MM .NET then retrieves this value from the database and stores it in the primary key column
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com