I am working from an open database (db1). Can I delete a query sitting in a closed database (db2)?
How ???
I hoped:
DoCmd.DeleteObject acQuery, db2.Querydefs(NameOfQryToDelete)
would work but it does not :-(
I would like to delete this query without opening db2 if possible ... i could open db2 if necessary but would prefer not to ... my code is slow enough already !!! ;-)
Thanks! You rule!
Marco
How ???
I hoped:
DoCmd.DeleteObject acQuery, db2.Querydefs(NameOfQryToDelete)
would work but it does not :-(
I would like to delete this query without opening db2 if possible ... i could open db2 if necessary but would prefer not to ... my code is slow enough already !!! ;-)
Thanks! You rule!
Marco