running reports and queries

P

perplexed

I have a multistep macro that runs 3 reports and 3 macros.
I would like to know if there is a way to turn off the
output so the user doesnt see it. I am only using them to
get info for the next step.
 
S

Steve Schapel

Perplexed

It is not clear what you mean by "turn off the output", nor what "get
info for the next step" might refer to. Can you please give some more
detail. Examples often assist.
 
G

Guest

I do an "openreport" as the first step in the macro, this
report calculates the count of records that I need to use
in the next step's "setvalue". What I would like to do is
not have the output from the "openreport" step show, if
possible.
 
S

Steve Schapel

Perplexed

The OpenReport action is unnecessary. If you need a count of records,
use...
DCount("*","NameOfQuery")
.... where NameOfQuery is the query that your report is based on.
 
G

Guest

Where would I do that? In the field property of the field
I want to put the dcount result in? Do I put it as an
event when I open the form? Do I put it as part of a macro?
 
S

Steve Schapel

I'm sorry, I don't have enough information about what you are trying to
achieve, in order to answer these questions. How were you going about
obtaining the "count of records" figure form your report? What were you
doing with this figure? What form? Etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top