G
Guest
Can I use "requery" in VB to run a query without having to open the query? I
have tried through the help to understand this command but I am not clear. My
situation is that I have a report that provides summary data on multiple
characteristics of a given identifer (say soil type). Each characteristic is
summarized on the report in its own subreport, which is itself based on a
"sub"query ( this is necessary due to various calculations within each
query). What I would like to do is rerun each query underlying the subreports
each time a different soil type is chosen. I can do this in VB by using the
"OpenQuery" function on each query, but that results in 10 to 15 queries
being opened in the database, and quite a visual mess. If not the requery
function, is there a way to run, or "updating", the queries without opening
them ??
have tried through the help to understand this command but I am not clear. My
situation is that I have a report that provides summary data on multiple
characteristics of a given identifer (say soil type). Each characteristic is
summarized on the report in its own subreport, which is itself based on a
"sub"query ( this is necessary due to various calculations within each
query). What I would like to do is rerun each query underlying the subreports
each time a different soil type is chosen. I can do this in VB by using the
"OpenQuery" function on each query, but that results in 10 to 15 queries
being opened in the database, and quite a visual mess. If not the requery
function, is there a way to run, or "updating", the queries without opening
them ??