On Nov 15, 2007 11:03 AM, Davuluri, Murali K.
<[EMAIL PROTECTED]> wrote:
> The same code in VFP doesn't insert NULL values. It also doesn't raise
> the error. Rows get inserted without any problem. It is only in the SQL
> from .NET.

I ran into that problem a couple of years ago.  Dates were the
sticking point as I remember.  I put a method in the data access layer
that did a datatype check for each col if there was a null value.  I'd
then insert the value to fit that type.  1 space, {12/31/1899} or a 0
.

It's the VFPOLE-DB and Nancy agreed with it's actions at the time as I remember.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to