用 text to
* MS SQL
text to xsql noshow
select cs11.*,cs2.控件字颜色 as 图片字颜色,
cs2.控件字色2 as 答案颜色 from cs11,cs2 where cs11.类别=cs2.类别
endtext
SQLEXEC(con,xsql,"cs2")
* VFP SQL
text to xsql noshow
select cs11.*,cs2.控件字颜色 as 图片字颜色, ;
cs2.控件字色2 as 答案颜色 from cs11,cs2 where cs11.类别=cs2.类别
endtext
SQLEXEC(con,xsql,"cs2")