Hi everyone,
I'm trying to execute (in vba-code) a query from another database then where the code is running. Can't get it to work. Error message is that it cannot find the object.
Pampers![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated
I'm trying to execute (in vba-code) a query from another database then where the code is running. Can't get it to work. Error message is that it cannot find the object.
Code:
strQuery = "SELECT * FROM qryContainerMovesEDI " & _
"IN \\Svr-file01\data\Shared\AAASeaTrade\Seatrade_be.mdb"
Currentdb.Execute(strQuery)
Pampers
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated