close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Get the newest, latest, hottest

Find shoes, heels, flats, active, essentials and more in the latest styles. Save up to 40% on select items.
From our sponsors
vb ado 執行階段錯誤3001
Apr 15th 2014, 06:58

如提 我使用下方語法
Private Sub CommandFS_Click()
dim T as string
   T = InputBox("請輸入會員姓名", "會員搜尋")
   adoPrimaryRS.MoveFirst
   adoPrimaryRS.Find "FNAME = " & T
    If adoPrimaryRS.EOF = True Then
    MsgBox "找不到會員資料", vbOKOnly, "抱歉"
    Exit Sub
    End If
End Sub

我使用相同語法分別找資料庫的"編號"  還有"電話" 都可以 (dim as long)
但是為什麼我要找中文字卻發生錯誤? 他說超過定義範圍或是型態錯誤?
因為我第一次這樣寫是可以的 但是我少了東西導致我要重寫! 現在卻不行......
我在想是不是我在建表單的過程少了甚麼步驟?!


This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    nbvjg94pt2zub 發表在 痞客邦 留言(0) 人氣()