会员登录 - 用户注册 - 网站地图 Office中国(office-cn.net),专业Office论坛
当前位置:主页 > 技巧 > Access技巧 > 模块函数VBA > 正文

求教 急急急

时间:2005-01-31 09:13 来源:未知 作者:佚名 阅读:

我学着做了一个库房管理系统 遇到了一个麻烦 是错误13 数据类型不匹配 具体如下:

 
Dim curDb As Database
Dim curRs As Recordset
Dim devicecnt As Integer
Dim sumprice As Currency
Dim sum As Currency
Dim curav As Currency
Dim strSQL As String
Dim str1 As Long
Dim av As Currency
    Set curRs = curDb.OpenRecordset(strSQL)
 
   Set curRs = curDb.OpenRecordset("select * from  device where (device.设备号 = str1 )")

我想请教一下如何解决

(责任编辑:admin)

顶一下
(1)
100%
踩一下
(0)
0%
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价: