One option would be to execute the SQL statement in code, e.g. in a command
button's Click event procedure:
Using DAO:
Dim dbs As DAO.Database
Dim strSQL As String
Set dbs = CurrentDb
strSQL = "UPDATE Products " & _
"SET UnitPrice = UnitPrice * 1.1"
dbs.Execute strSQL
or using ADO:
Dim cmd As ADODB.Command
Dim strSQL As String
Set cmd = New ADODB.Command
cmd.ActiveConnection = CurrentProject.Connection
cmd.CommandType = adCmdText
strSQL = "UPDATE Products " & _
"SET UnitPrice = UnitPrice * 1.1"
cmd.CommandText = strSQL
cmd.Execute
Ken Sheridan
Stafford, England