thanks but after put these code you tell me i have error again "you must use "dbseechanges" at this line now "db.Execute "Update tblLog Set CloseDateTime = '" & Format(Now, "yyyy-MM-dd hh:mm:ss") & "' Where LogID=" & LastID" and add db seechanges at the end of line
db.Execute "Update tblLog Set...
ok i did that.Now i have 2 errors
1) you must use "dbseechanges" ....I tried with that "set rs =db.OpenRecordset("select * from tblLog Where (1=0);",dbseechanges) but not fixed
2)error "3075".Missing operator "2020-08-11 12:48:27" in this line "db.Execute "Update tblLog Set CloseDateTime = " &...
hi.I have my access tables to sql server and i have this code to "log" forms or reports when closing or opening in sql server.This function working when table is on local pc but when is in sql server and i am trying to close form i have this error "Run-time error '3020': Update or CancelUpdate...
ok.
CJ_London you said to rename function sleep to mysleep to avoid error ok?Then i did that and uploaded the attach file (https://easyupload.io/tjp092 ) to see my changes if is it good.
well i change again private Sub mySleep(sngTime As Single) to Public Sub mySleep(sngTime As Single) in a module BasShared and i changed name then i changed from form frmEntry_Main the
Public Sub HotSpotClick(sControlName As String)
On Error GoTo PROC_ERR...