會(huì)員登錄 - 用戶注冊(cè) - 網(wǎng)站地圖 Office中國(office-cn.net),專業(yè)Office論壇
當(dāng)前位置:主頁 > 技巧 > Access技巧 > 模塊函數(shù)VBA > 正文

求教 急急急

時(shí)間:2005-01-31 09:13 來源:未知 作者:佚名 閱讀:

我學(xué)著做了一個(gè)庫房管理系統(tǒng) 遇到了一個(gè)麻煩 是錯(cuò)誤13 數(shù)據(jù)類型不匹配 具體如下:

 
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.設(shè)備號(hào) = str1 )")

我想請(qǐng)教一下如何解決

(責(zé)任編輯:admin)

頂一下
(1)
100%
踩一下
(0)
0%
發(fā)表評(píng)論
請(qǐng)自覺遵守互聯(lián)網(wǎng)相關(guān)的政策法規(guī),嚴(yán)禁發(fā)布色情、暴力、反動(dòng)的言論。
評(píng)價(jià):