Thanks Michael. That's more involved than I wanted to get. I was hoping to build a command string in ASP and send it off to VFP for execution. There are other ways to work around it that are a little easier to deal with. I'll just accept the notion that it's not supported and leave it at that. Thanks
- DF
>Okay, not sure what you are doing or what you want as your result, but you can take a string/parameter and parse it, then execute each portion like so:
>
>
>LOCAL lcString, lnIndex, lnLines, lcCommand
>lcString = 'x=4|y=6|z=14'
>
>lnLines = ALINES(laCommands, lcString, 1, "|")
>FOR lnIndex = 1 TO lnLines
> lcCommand = laCommands[lnIndex]
> &lcCommand.
>ENDFOR
>
>
>-mike
>
>>This is probably a dumb question but . . . in VFP is there a way to chain multiple commands on a single line? Something like:
>>
>>x=4|y=6|x=14
>>
>>I've never seen this form but several other languages allow it.