hey
got a problem
i added to my databse to 2 fields and when i run my programm i get error
number of query values and destination fields are not the same
and this is the databse fields
this is the module
tnx in advacend
got a problem
i added to my databse to 2 fields and when i run my programm i get error
number of query values and destination fields are not the same
Code:
ULog = NextID("LogID", "Logs")
CN.Execute "INSERT INTO Logs (LogID, LogDate, LogDay, LogName, LogIn, LogOut) VALUES (" & _
ULog & ", '" & UsLogin & "', '" & Format(Now, "dddd, dd mmmm yyyy - HH:MM:SS") & "', '')"
Code:
LogID, LogDate, LogDay, LogName, LogIn, LogOut
Code:
Public I As Long, ULog As Long
Public UsLogin As String