Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursortoxml data type inferrence
Message
De
27/08/2013 15:45:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581538
Message ID:
01581539
Vues:
46
This message has been marked as the solution to the initial question of the thread.
You need to provider a schema. Going by memory, one of the parameters is for that.

>I have a table that is being sent via cursortoxml and then back using xmltocursor. All works well unless I have just one record with a field that is character type, but has a number in it. When that happens, the cursor created is inferred to be numeric. It's hard to predict when this will happen without having a data dictionary to compare to. As a result if I try to copy from the cursor to my destination table, I get data type mismatches.
>
>Is there any way to force cursortoxml and xmltocursor to respect the data type of the original table?
>
>Thanks in advance!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform