Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB 2008 Nothing vs. VFP NULL
Message
De
15/04/2008 04:37:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01309970
Message ID:
01310641
Vues:
15
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform