Rich,
Take a look at Message #
1172291.
~~Bonnie
>I have a VFP application with a treeview. When the user selects and item from the tree something like the following code executes
>=SQLEXEC(myConn, "SELECT codeblock FROM myTable WHERE id = treeview.id","curCode")
>lcScript = curCode.codeblock
>EXECSCRIPT(lcScript)
>
>Is there an equivalent form for this in VB?
>
>Thanks.