Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML file to Cursor
Message
De
22/11/2006 01:46:41
 
 
À
21/11/2006 21:32:50
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01170611
Message ID:
01171639
Vues:
14
>Hi aleksey,
>
> I just noticed it now, the docdate and docduedate became "Memo" instead of "20061113" and the other fields with text value became "Memo" in the cursor? is it posible retain their original value?
>
>Thanks,
>ryan

Well, those elements are defined in the schema as follows:
<element name="DocDate" type="string" minOccurs="0" /> 
<element name="DocDueDate" type="string" minOccurs="0" /> 
Note the type is string without maxLength restriction? Elements like this are mapped to Memo fields by default. However, I am pretty sure Memo fields retain original values. If you want those elements to be mapped to Character fields, either modify the XSD schema to include maxLength restrictions or modify DataType and MaxLength properties for corresponding XMLField objects (see message #1091626 for example).

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform