I forgot to put single quotes around the XML.
Ah, I understand your reponse, you are saying that I didn't put the quotes. And now I have a string literal over 255. Arg!
>XML isn't VFP supported data type. From VFP POV it's just a string so it'has to be passed as a string.
>
>>I have a series of VFP commands store in the memo fields of a table. Some of these commands are method calls with XML parameters. To execute these commands, I am using macro expansion. If a command contains an XML parameter it fails with the error "Function name is missing )." I think this is because the XML contains periods which signal the end of the macro processing. Is this true, and what can be done about it.
>>
>>String that I am trying to execute is below. As you can see, there are all kinds of periods.
>>
>>
>>oRep.Device(<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
>><VFPData xml:space="preserve">
>
><snip>
>
>></VFPData>
>>)
>>