我在VFP中写入以下代码
mycon="driver={sql server};database=fashion;server=127.0.0.1;uid=sa;pwd="
=SQLSTRINGCONNECT(mycon)
=SQLSETPROP(mycon,'batchmode',.T.)
=SQLPREPARE(mycon,"select * from bi_t_item_info")
=SQLEXEC(mycon)
=SQLDISCONNECT(mycon)
结果在执行时,报告错误Function argument,value,type or count is invalid,点挂起后发错误发生在SQLSETPROP函数上,可我发现这个函数的写法没错呀。把这个函数调用用*屏蔽后,发现仍报同样的错误,错误行在SQLPREPARE上,请FORM大哥帮下忙给看看,先谢了