主题:[讨论]vb打包后安装到其它电脑的问题
在VB软件下在运行一切都可以。(在本机可以)打包后安装到其它电脑时运行查询不到数据,第一个查询(调用存储过程(sp_kjy_tj)的查询)没有数据,我用的是:
With Adodc1
.ConnectionString = Conn
.RecordSource = "sp_kjy_tj " & _
" '" & Trim(DTPicker1.Value) & "' " & "," & "'" & Trim(DTPicker2.Value) & "' "
.Refresh
而另一个查询却可以,(用SQL语句查询)
adodc1
.ConnectionString = Conn
.RecordSource = "SELECT * FROM ttt_view "
.Refresh
如果是打包不成功的话,那第二个查询也应查询不到数据,请教?我用的VB+SQL2005在局或网内运行
With Adodc1
.ConnectionString = Conn
.RecordSource = "sp_kjy_tj " & _
" '" & Trim(DTPicker1.Value) & "' " & "," & "'" & Trim(DTPicker2.Value) & "' "
.Refresh
而另一个查询却可以,(用SQL语句查询)
adodc1
.ConnectionString = Conn
.RecordSource = "SELECT * FROM ttt_view "
.Refresh
如果是打包不成功的话,那第二个查询也应查询不到数据,请教?我用的VB+SQL2005在局或网内运行