classname = "myoleclass" SELECT * FROM c:\test\test.vcx ; WHERE objname == ?classname ; INTO CURSOR class_def READWRITE * Change the type of the 'ole' column to memo/binary. * I think it's a bug that it doesn't marked as such in VCX * The 'objcode' column is already memo/binary ALTER TABLE class_def ALTER COLUMN ole M NOCPTRANS * Convert cursor to XML with inline schema * It'll allow base64 encoding of binary data in the 'objcode' and 'ole' fields CURSORTOXML("class_def","_classdef",1,0,0,"1") * Convert it back to cursor for testing XMLTOCURSOR(_classdef,"NewClass" )>am trying to get a class definition to be returned by a webservice. Before I got that far, I ran into issues with the vfp XML functions and attempting to do it within VFP.