Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML
Message
From
27/10/2008 20:33:35
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01357537
Message ID:
01357567
Views:
30
>If the field is not empty, you may try to restore back to cursor in try/catch block. Do you want to validate the memo field because you're afraid the CursorToXml will take long time?

No, I assumed that if there was bad data in the memo field, it would crash when trying to restore to cursor. I don't think about Try/Catch enough though. That will probably work just fine.

>
>>That worked great! Is there a way for me to determine if the contents are actually valid XML? It's possible that during a transition period some of the memo fields will not have XML in them and I don't want to try and create a cursor from bad data.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform