>>Programatically, how do I run this command? The table name is mmenu.
>
>
&field
>
>You can not use the table.field syntax in this case cuz the . in the middle will terminate the expansion. So save it to alocal variable first if needed. If this is a nulti line memo field, you can do:
>
>
StrToFile(table.field, 'temp.prg')
>compile temp.prg
>do temp
>
>Anything can go in this case.
I'd add a second field to contain the comma-delimited list of values to pass to the called function, so that rather than DO TEMP, you'd
lcArgsFld = table.field2
*
* You might do some things to resolve substrings in lcArgsFld
* into things within the execution environment here. YMMV.
*
=temp(&lcArgsFld)