Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with xmltocursor() function
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem with xmltocursor() function
Divers
Thread ID:
00590428
Message ID:
00590428
Vues:
86
*!* The problem occurs when xmltocursor() function convert a numeric value:

*!* - if the value is 0, the incorrect result is .F.
*!* - if the value is 1, the incorrect result is .T.

*!* Is this a bug?

*!* Thanks,

*!* Marcio Goncalves
*!* Niteroi-Rio de Janeiro-Brasil

create table SAMPLE (name c(10), age i)
insert into SAMPLE (name, age) values ("Marcio", 1)
insert into SAMPLE (name, age) values ("Ghandi", 2)
select * from SAMPLE where name = "Ghandi" into cursor curSAMPLE
cursortoxml("curSAMPLE", "lcXML")
xmltocursor(lcXML, "curSAMPLE_CORRECT")
browse
select *, "See the age!" as Bug from SAMPLE where name = "Marcio" into cursor curSAMPLE2
cursortoxml("curSAMPLE2", "lcXML2")
xmltocursor(lcXML2, "curSAMPLE2_BUG")
browse
Marcio Gomes Gonçalves
Niteroi-RJ-Brasil
gomes@metha.com.br

Paz e Bem!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform