Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OleDB provider forces non null fields
Message
From
13/05/2006 11:40:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/05/2006 11:18:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01121568
Message ID:
01121659
Views:
9
>>VFPOLEDB supports "set null off" command. First do an ExecuteNonQuery on the connection (posted full samples with framework1.1 before).
>
>Yes, I thought about that but would like to avoid that at the code level because the data adapter class is generic. I tried it at the connection string level and this doesn't do any effect.

But you have a connection object in your generic class, right? If so you could check the provider and of it's VFPOLEDB then execute it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform