M
Mark Schirle
Hi,
I am converting from A97 to A2k3. I have a form that allows users to
make choices and then hit a button to see results. Behind the scenes I'm
making a sql statement. So when they hit the button i first delete the
query so that I can get rid of the old one and then
set qrydef = currentdb.createquerydef("qryName", strSQL)
the reason I create a query with a name is so I can then open a report
and the report uses the "qryName" as the recordsource.
As admin I have no problem. But users aren't so lucky. I've granted full
permission on New Queries in security. I get the error "No recordsource
found". So the query is not getting made.
So what am I doing wrong. (This has worked fine in A97)
TIA for your help!
I am converting from A97 to A2k3. I have a form that allows users to
make choices and then hit a button to see results. Behind the scenes I'm
making a sql statement. So when they hit the button i first delete the
query so that I can get rid of the old one and then
set qrydef = currentdb.createquerydef("qryName", strSQL)
the reason I create a query with a name is so I can then open a report
and the report uses the "qryName" as the recordsource.
As admin I have no problem. But users aren't so lucky. I've granted full
permission on New Queries in security. I get the error "No recordsource
found". So the query is not getting made.
So what am I doing wrong. (This has worked fine in A97)
TIA for your help!