data from not linked sources

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I create the report it is based on a table or querry.
What shall I do if I need to display some calculation results that come from
another querry? I tried just to specify in the control source of a TextBox1
the name of the querry and the field from it which I need to be displayed:

=[Query_Name]![EXPR]

But it doesn't work. :(

If I put it into a sub-report, how then I can refer to that Text Box value
when I need to calculate the difference:

=((Reports![ReportName].Child1.[TextBox1])-(Sum([Amount in VND])))

????

Please help!!!! I am all lost! :(
Thank you.
Lana
 
Thank you Duane, it worked!

Duane Hookom said:
Use:
=DLookup("[yourfield]","[YourTableQuery]")

--
Duane Hookom
MS Access MVP
--

Lana said:
When I create the report it is based on a table or querry.
What shall I do if I need to display some calculation results that come from
another querry? I tried just to specify in the control source of a TextBox1
the name of the querry and the field from it which I need to be displayed:

=[Query_Name]![EXPR]

But it doesn't work. :(

If I put it into a sub-report, how then I can refer to that Text Box value
when I need to calculate the difference:

=((Reports![ReportName].Child1.[TextBox1])-(Sum([Amount in VND])))

????

Please help!!!! I am all lost! :(
Thank you.
Lana
 

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

Similar Threads

Querry link to Report 4
Report with data from two querries 3
Create a report from a form 3
Multiple Subreports 1
Calculating SUM 2
Create a Report by Entering Data 2
report calculation 5
Sum complications 2

Back
Top