Terry,
>In a web form, why do I get the warning icon with the following tooltip messages when I Save a row? The fields are not required and nulls are allowed in the table but when no data is entered I get these messages.
>“Input string not in correct format”
>“String was not recognized as a valid date”
This error occurs when binding the value back from the textbox. The routine that converts the textbox value to DateTime is choking on the empty string. We've fixed this in the upcoming version of MM .NET, so it will automatically handle the empty string value for you.
>Also why is the data saved if there are error or warning messages?
It's saved because there are no broken rules. The error occurred when unbinding the textbox rather than saving data.
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