Total from a Query to a Form

C

Chris

Hello,

I have several queries that have count totals from certain fields in a
table. I would like to be able to insert those totals (just the
numbers) on certain places in another form for a manager's summary
view. How can I make this possible.

Thanks in advance.
 
O

OldPro

Hello,

I have several queries that have count totals from certain fields in a
table. I would like to be able to insert those totals (just the
numbers) on certain places in another form for a manager's summary
view. How can I make this possible.

Thanks in advance.

You could declare a public variable in a module to hold a total, or
you could declare a public variable in a form and refer to the form
and the variable like this: someform.somevariable. You could also
just use DSUM( ) with your query string to redetermine each total and
assign it to the textbox on your manager's form. Did you have a more
specific question?
 

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