Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML in methods
Message
From
16/04/2002 04:00:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
XML in methods
Miscellaneous
Thread ID:
00645319
Message ID:
00645319
Views:
44
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 !
Next
Reply
Map
View

Click here to load this message in the networking platform