Append Query

  • Thread starter Thread starter nexus
  • Start date Start date
Depends on what you want to do:

(1) You can execute a stored append query.

(2) You can open a stored append query.

(3) You can build your own SQL statement for an append query and then
execute the SQL statement.

(4) You can modify a stored query's SQL statement and then execute the
modified query.
 
I want to execute a stored append query.
-----Original Message-----
Depends on what you want to do:

(1) You can execute a stored append query.

(2) You can open a stored append query.

(3) You can build your own SQL statement for an append query and then
execute the SQL statement.

(4) You can modify a stored query's SQL statement and then execute the
modified query.

--

Ken Snell
<MS ACCESS MVP>




.
 
Here's some generic code to do that:

Dim dbs As DAO.Database
Set dbs = CurrentDb()
dbs.Execute "QueryName", dbFailOnError
dbs.Close
Set dbs = Nothing
 
Thanks so much!
-----Original Message-----
Here's some generic code to do that:

Dim dbs As DAO.Database
Set dbs = CurrentDb()
dbs.Execute "QueryName", dbFailOnError
dbs.Close
Set dbs = Nothing


--

Ken Snell
<MS ACCESS MVP>




.
 
Back
Top