>Hi all
>
>I have successfully created and DO &filename. of a runtime generated EDIT (BROWSE) single multiline command from a prg file.
>
>What will happen at the clients end?
>
>Please advise.
Depends on version. With 6 you could :
compile (m.filename)
do (m.filename)
With 7 and later you could also use :
ExecScript(FileToStr(m.FileName))
But beware ExecScript version compiles with each run and hence slows down if would be called n times. VFP6 approach is better than.
PS: Compile is supported for some other files too.
Cetin