hi
i created a query named: qryTest
on a form, i put a subform/subreport (name: resultQuery)
i have also a button
when i click on the button, i would like to run my query: qryTest and i want to display the result to my component: resultQuery
i tried
resultQuerysourceobject = currentdb.querrydefs("qryTest");
i get error syntax....
any idea?
thanks
i created a query named: qryTest
on a form, i put a subform/subreport (name: resultQuery)
i have also a button
when i click on the button, i would like to run my query: qryTest and i want to display the result to my component: resultQuery
i tried
resultQuerysourceobject = currentdb.querrydefs("qryTest");
i get error syntax....
any idea?
thanks