N
nath
Yeah, it is, here goes
enable your DAO and ADO references
dim dbs as database
dim wrkjet as workspace
fname = "filename of database plus full path"
Set wrkJet = CreateWorkspace("", "admin", "", dbUseJet)
Set dbs = wrkJet.OpenDatabase(fname, True)
sql = "copy this from your query builder in Acces"
dbs.execute sql
dbs.close
Hope this helps
Nath
enable your DAO and ADO references
dim dbs as database
dim wrkjet as workspace
fname = "filename of database plus full path"
Set wrkJet = CreateWorkspace("", "admin", "", dbUseJet)
Set dbs = wrkJet.OpenDatabase(fname, True)
sql = "copy this from your query builder in Acces"
dbs.execute sql
dbs.close
Hope this helps
Nath