Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integer converted to numeric
Message
De
02/11/2001 12:02:59
 
 
À
02/11/2001 11:58:08
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00576772
Message ID:
00576811
Vues:
22
>>>>I mentioned something similar to that earlier on this week. Now, this relates also to Microsoft.XMLHTTP. Basically, if you return only one record and that it has an integer of a value 1, that value will be converted to a logical when using that control. The same is true if all your records has 1 for that integer value. As soon as you have another value it will always work. Why is this conversion taking place?
>>>
>>>what do you mean with only one record are you returning a cursortoxml of a table if this is the case you need to also return the schema so that the parser knows wht type of data every field is dont forget that in SQLSERVER true is 1 an false is 0 so the parser is thinking that you are returning a logical value.
>>
>>Yes, as I mentioned in the other message. <s>
>Sorry only do the get messages now.

That was also the problem when my memo field was converted to a string. Basically, I added the inline schema in our ToXML() global function.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform