Microsoft office access can't find the object 'qrySummary'
Hi all,
I have an Access application that has SQL Server as front-end database.
i created a view called"qrySummery" in SQL, in access i wanted to show the results from this qry by clicking a button in a form, so in the vb i had the code as follow:
DoCmd.OpenQuery "qrySummery"
Every time i try to run it, it returns an error msg saying:
"Microsoft office access can't find the object 'qrySummery'.
Even though, when i run the qry from the queries tab it works perfectly.
Thanks and looking forward to hearing from you
Hi all,
I have an Access application that has SQL Server as front-end database.
i created a view called"qrySummery" in SQL, in access i wanted to show the results from this qry by clicking a button in a form, so in the vb i had the code as follow:
DoCmd.OpenQuery "qrySummery"
Every time i try to run it, it returns an error msg saying:
"Microsoft office access can't find the object 'qrySummery'.
Even though, when i run the qry from the queries tab it works perfectly.
Thanks and looking forward to hearing from you
Last edited: