Hi , Could somebody help me with this syntax please for how to combine multiple SQL statements in vba, to change more than one value in a table
Ive been experimenting with this from the microsoft site but keep getting syntax errors the code I'm trying is below
Ive been experimenting with this from the microsoft site but keep getting syntax errors the code I'm trying is below
Code:
Dim dbs As Database
Set dbs = CurrentDb
dbs.Execute "UPDATE Employees " _
& "SET ReportsTo = 5 " _
& "SET Date = Now() ;"