E.R,
>Should there be a check to see if DE.Value is null in the for each loop and set to System.DBNull.Value if it is?
I'll send you a private e-mail to help resolve this issue more quickly.
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