N
nexus
How do I use the append query in VB codes??
-----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>
.
-----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>
.