tqcuong > 22-08-14, 10:17 PM
MTNQ > 25-08-14, 04:25 PM
Private Sub Command14_Click()
Dim MySQL As String
Dim LDate As String
LDate = Date
MySQL = "INSERT INTO LOG(USER, PASS, [TIME]) VALUES('" & TEXT0 & "', '" & TEXT2 & "', '" & LDate & "');"
DoCmd.SetWarnings False
DoCmd.RunSQL MySQL
DoCmd.SetWarnings True
End Sub
Private Sub Command14_Click()
Dim MySQL As String
Dim LDate As String
LDate = Date
MySQL = "INSERT INTO LOG(USER, PASS, [TIME]) VALUES('" & TEXT0 & "', '" & TEXT2 & "', '" & LDate & "');"
CurrentDb.Execute MySQL
End Sub