gselliott
Registered User.
- Local time
- Today, 20:51
- Joined
- May 17, 2002
- Messages
- 106
Display a Query Total in a Message Box
I have set up a simple query that gives me a grand Total of charges from one of another query. I don't need this information to be stored anywhere but i want to be able to display the total in a message box once I have exported the Invoices.
I have set up a form where the users selects the records to be exported and this is based upon another query, all I want to do is to put a test box on the form which displays the Total from my Total Query so that I can display the Total in a message box once the invoices have been exported.
Is there an easy way to do this or even just some way that i can pick up the Total directly from the query in the code so i dont have to bother about the text box on the form??
Any ideas would be appreciated.
Thanks in advance!
I have set up a simple query that gives me a grand Total of charges from one of another query. I don't need this information to be stored anywhere but i want to be able to display the total in a message box once I have exported the Invoices.
I have set up a form where the users selects the records to be exported and this is based upon another query, all I want to do is to put a test box on the form which displays the Total from my Total Query so that I can display the Total in a message box once the invoices have been exported.
Is there an easy way to do this or even just some way that i can pick up the Total directly from the query in the code so i dont have to bother about the text box on the form??
Any ideas would be appreciated.
Thanks in advance!