Option Explicit
Private Sub BeforeUpdate
Dim No_Map As Integer
Dim SysDate As Date
SysDate = Now()
Debug.Print "Date is " & SysDate
strSQL1 = "UPDATE MaponDemand SET SysDate = " & SysDate & " WHERE No_Map = " & _ No_Map.Value
db.Execute strSQL1, dbFailOnError Or dbSeeChanges
End Sub
Private Sub BeforeUpdate(Cancel as Integer)i think... also there is an extra_before &No_Map.Valueand I am not sure you can use anoroperator withdbFailOnError Or dbSeeChanges... - user2140173