1. Use the IN phrase in the query's FROM clause:
SELECT f1, f2, . . .
INTO table IN "path to BE mdb"
FROM whatever
the run the query in whatever way you prefer.
2. Open the other database and use that db object to
Execute the query:
Dim dbBE As DAO.Database
Dim strSQL As String
Set dbBE = OpenDatabase("path to BE mdb")
strSQL = "SELECT f1, f2, . . . " _
& "INTO table " _
& "FROM whatever"
dbBE.Execute strSQL, dbFailOnError
Set dbBE = Nothing
1. Use the IN phrase in the query's FROM clause:
SELECT f1, f2, . . .
INTO table IN "path to BE mdb"
FROM whatever
the run the query in whatever way you prefer.
2. Open the other database and use that db object to
Execute the query:
Dim dbBE As DAO.Database
Dim strSQL As String
Set dbBE = OpenDatabase("path to BE mdb")
strSQL = "SELECT f1, f2, . . . " _
& "INTO table " _
& "FROM whatever"
dbBE.Execute strSQL, dbFailOnError
Set dbBE = Nothing