是不是因为没有转换数据格式,不解?
sdmfc 2004-11-19 08:18:07 我发现同样的语句在vfp数据库的存储过程中可用,但在vfp表单中使用就不行,是不是因为我美誉欧转换数据格式的缘故?
比如:
isuccess=sqlexec(nconnecthangdle,"exec stuzdbrow ?tshuid","stuzd")
这句在vfp表单中不行,但在存储过程中可以。
我的sql server2000的存储过程是这样写的:
creat procedure stuzdbrow @tstuid
as
select stuid,stuxm,stuxb from stuzd where stuid=@tstuid
go
至于tshuid也已经赋了值,nconnecthangdle连接句柄也运行过,绝没问题。
请各位大侠指教!
谢谢!