G
Guest
I have a query that I want to execute and then reference in VBA. I have the
following code:
docmd.openquery "qryPAYMENTtotals",acNORMAL,acREADONLY)
pmttotals=query!PAYMENTtotals!paymenttotals
When the code gets to these two lines I start having problem. Actually the
second. I get a run time error 424. Object Required.
Can someone please point me in the correct direction.
Thanks,
Ray.
following code:
docmd.openquery "qryPAYMENTtotals",acNORMAL,acREADONLY)
pmttotals=query!PAYMENTtotals!paymenttotals
When the code gets to these two lines I start having problem. Actually the
second. I get a run time error 424. Object Required.
Can someone please point me in the correct direction.
Thanks,
Ray.