>Does anyone know how to pass 2 SQL commands to SQL Server at the same time?
>such as : SQLEXEC(myconn,"select * from invoice","select * from sales")
>In fact, this syntax in VFP is incorrect.
>How to get the same purpose?
>Thanks.
Try
SQLEXEC(myconn,"select * from invoice; select * from sales")
--sb--