Willy,
>I did that before even posting the error.
>
>No matter where I put the NewRow() method (before or after the InitializeCommponents() ), the error comes up until I precede it with a method that fill the object with data.
>
>So I thought it is because the biz object is not instantiated until I load some data, then I wondered why I should have to do that when I am just inserting new rows and not browsing the preexistent rows. I expected the NewRow method to do the instantiation like it does on web forms.
>
>But If you reread my first post you will notice that in fact the main issue was that I had problems synchronizing the object with the form controls once the NewRow was created and the object hydrated with data. I can’t do that and my form objects keep showing the first row of the table.
I was unable to replicate this error on my machine. Can you zip up your application and send it to me so I can have a look first hand? Also, I would need you to detach your database, and send it to me.
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