Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty date fields
Message
 
 
To
16/02/2006 13:21:17
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 8.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096812
Message ID:
01096832
Views:
16
That's what I suspected.
Thanks!

>If you were using a .NET WebService instead of a VFP WebService, I'd say to make the date columns = DBNull.Value, but that obviously won't work in a VFP WebService. So, your only choice really is to populate empty dates with a value, I think the VFP preferred value is 12-31-1899 (don't quote me on that). I know it's different than the one you use for SQL Server (which is 1-1-1900).
>
>~~Bonnie
>
>
>
>>What is the preferred method to send empty date values from VFP to a .Net datatable. The .Net app is calling a VFP web service. When I execute the Dataset.ReadXml using XmlReadMode.ReadSchema it throws an exception when it encouters an empty date field.
>>
>>I'm guessing populate the empty date values from VFP prior to returning the xml data.
>>
>>Thanks,
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform