Private Sub 命令6_Click()
Dim Rs As New ADODB.Recordset
With Rs
.Source = "SELECT username,usertel,useradd FROM userdata"
.ActiveConnection = CurrentProject.Connection
.LockType = adLockOptimistic
.CursorType = adOpenKeyset
End With
Rs.Open
Rs.AddNew
Rs.Fields("username") = 文本0.Value
Rs.Fields("usertel") = 文本2.Value
Rs.Fields("useradd") = 文本4.Value
Rs.Update
End Sub