Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB 2008 Nothing vs. VFP NULL
Message
From
15/04/2008 04:37:24
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01309970
Message ID:
01310641
Views:
14
>>One more question about this project and I'll leave everyone alone for a while... :)
>>
>>I'm planning on using .dbf tables written by a VB 2008 application to supply data to a VFP application. That VFP app makes extensive use of whether a given value is .NULL. or not, so the VB app need to be cognizant of that. I'm going to be using the VfpOleDb driver to fill these tables, and what I ultimately need to know is whether the driver supports .NULL. and whether I would use the VB "Nothing" to fill a field with the value with the VFP equivalent of .NULL. If not "Nothing", then what?
>>
>>Thanks in advance,
>>
>>David
>
>There is DbNull in VB.NET and C#, AFAIK.

I checked with some testing - yes, DbNull.Value is the same as FoxPro's NULL. I suspect that DbNull.Value existed first, actually...

Thanks to all,

David
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform