-1
我需要很多幫助,我的VB博彩應用程序項目。現在,我被困在提交按鈕的語法中,該按鈕將用戶輸入從vb格式的文本框發送到ms訪問表。在按鈕上點擊數據添加數據
這是我的代碼:
private sub command1_Click()
Dim rs As Recordset set rs=currentdb.openrecordset("tblGame_information") with rs .AddNew !awb=Me.txt_awb .Update
End With
End Sub
而在此之後,點擊添加按鈕的錯誤消息稱:沒有發現
方法或數據成員
的Private Sub Command1_Click()
是highlited yellow
私人子command1_Click() 昏暗RS作爲記錄 集合RS = currentdb.openrecordset( 「tblGame_information」) 與RS .AddNew !AWB = Me.txt_awb .Update 結束隨着 結束子 –
點擊後添加按鈕的錯誤消息說方法或數據成員沒有找到和私人小組Command1_Click()被高調黃色。 –