Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why xmltocursor append a blank record at runtime?!?!?
Message
De
18/11/2005 07:06:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01070112
Message ID:
01070135
Vues:
13
Hi again,
Rereading your message and seeing content of xml with notepad I see it's a .Net dataset export. I have VFP5-9 installed on my box. VFP9 can read .Net dataset XMLs. That makes me think along the lines if I have a newer msxml4.dll then yours?

MSXML4.DLL 4.10.9404.0 (4.0 SP1)
MSXML3.DLL 8.50.2162.0 (3.0 SP5)

Cetin


>Hi Cetin, now are me and my collegue seeing this :)
>and looking better we can see that at runtime vfp add a column named "element"
>the problem is that in design time this doesn't happen, and it load the correct values without the blank record and the column "element".
>
>please download this xml file:
>
>http://www.cfsolutions.it/colori.zip
>
>it contains an xml file exported from a SQCE database
>(5 fields: "ridpda","nrcolore","descr","base","rid" and 4 records with colors: red, yellow, green, white)
>and try with it at runtime with this code in a button on a form
>
>
>ret =XMLTOCURSOR( GETFILE() , "thealias", 512)
>=MESSAGEBOX("n rec" + transf(ret))
>SELECT thealias
>browse
>
>
>and at design with
>
>
>XMLTOCURSOR( GETFILE() , "thealias", 512)
>
>
>remember VFP7SP1
>
>let me know, thanks
>
>
>>Franco,
>>I don't see it happen.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform