Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML in methods
Message
De
16/04/2002 04:00:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
XML in methods
Divers
Thread ID:
00645319
Message ID:
00645319
Vues:
45
Hi,

I use the ReadMethod command (doesn't work with Readexpression and write expressions and a property) to read XML data directly from a method of a container class that acts as a User Interface Control.
I do this because I want to keep this data, that is strictly linked to the class and only needed for UI purposes, contained in the VCX. In doing so, I don't need separated files. When an object of that class is instantiated, I pull the data from the method by using the Readmethod() command and can easily manipulate the data (e.g. XMLtoCursor).
When I write the XML data into the method at DESIGN time, I simply ignore the error message.

Now I'm building a builder to do the same thing (writemethod()command) and I want to suppress the error message (VFP doesn't interpret the XML as valuable command).
I could write myself another equivalent to the readmethod or writemethod commands and manipulate the vcx files (which are in fact dbf files) but there has to be a more elegant way to do this.

Can somebody help me with this?


Mark.
If everything seems to be going well, you obviously don't know what the hell is going on !
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform