Avatar of asaidi
asaidi asked on

add second query in report using access

i have a report that is connected to query1 and i created second query that calculates total and i want to add a field from this query to the report ..
can i add table or query to my report without creating second report ..
Microsoft AccessSQL

Avatar of undefined
Last Comment

8/22/2022 - Mon
Patrick Matthews

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

i add an unbound textbox
then i wrote select sum(total) as total from total
and total it is a query that i made in query section
but everytimes i close it is not saved and i clicked on save option but still the sql is not saved

DLookup("field name in your sum query", "sum query name")

The above goes into the control source of your textbox.

thank you Emil i will try this as second option because the first option sent by matthewspatrick is working
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

If Patricks solution works then he gets the credit and points.