Mario,
>It seems that the primaryKey is never created on the table and that's what is raising the exception. How can I ensure that a primary key value is created for the table?. When does MM do it? My BO new method defines the PrimaryKey property in it. I am not sure if that's what defines the PK in the table to then be able to be used by a find mehtod.
Have you defined a primary key on the back end table and retrieved this value in your SELECT statement?
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