create cursor curTest (cKey c(4) nocptrans, iKey i) insert into curTest values (BinToC(1),1) ALTER TABLE curTest ALTER COLUMN cKey M NOCPTRANS lcXml='' CursorToXML('curTest','lcXml',1,0,0,'1') XMLToCursor(lcXml,'curTest1') ? curTest1.cKey, CToBin(curTest1.cKey), curTest1.iKey>The cKey value is stored as gAAAAq== in the XML.