Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters as a variable
Message
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01050509
Message ID:
01050825
Views:
10
Thanks Sergey,

I worked with this all weekend. I still get the same kind of results. It's very odd. I can pass an object with an array property of "parameter values" and all is fine, until one of the array elements contains a string with a single quote ('). Once I do this the call to the function bombs out. The first line in the called function doesn't get executed. Again, it will get executed if the are no single quotes in the array elements. Weird!

It is a com object calling the function, Could this be te reason why? Maybe I'm missing something else.

Thank you,
Paul
>Paul,
>
>Woud Parameter Object work for you? See http://fox.wikis.com/wc.dll?Wiki~ParameterObjects and http://weblogs.foxite.com/andykramek/archive/2005/07/19/788.aspx
>
>
>>I have a com object that accepts an xml document. This XML document has a few elements one of which is the prg to call, and other elements would be the parameters to pass to the prg.
>>
>>This com object builds a string that will hold the parameters. Each of the prgs main function is called AIMsiMain. This allows me to issue a set procedure command for the prg and then issue AIMsiMain(), like so:
><snip>>
>>One of the parameters will hold data that could contain quotations. Of course this then screws up the parameters being sent.
>>
>>Is there another way to accompish this?
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform