Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object vs. array?
Message
 
 
À
25/08/2009 21:09:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01420180
Message ID:
01421155
Vues:
67
It has nothing to do with 'format option 3'. When you do not provide XML schema, XMLTOXCURSOR() has to guess types of the fields based on the values in them. IOW, only XML schema can carry over accurate information about original field types/sizes.

>The format option 3 has done the following:
>- an integer column containing zeros was interpreted as a logical containing .f.; when I put a two digit number into one of the last rows, it came across as n(2), again not integer. I guess if it had all zeros and then greater and greater numbers approaching the end, Fox would have some work to do adjusting the widths, column type etc.
>- datetime columns came across as c(1) (all fields blank). Then when it wasn't empty, it came as c(19) containing ttoc(value, 3).
>
>IOW, nice if all your data are strings.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform