Programming MS Access Reports

wren17

Board Regular
Joined
May 25, 2002
Messages
52
Hello Everyone:

I am trying to create a report that links to muliple queries. I can only seem to link to one query per report. However I want a report that has information from more than one query. Is this possible without programming? Also how can I program a text box to display information on a report. I tried and it doesn't give me a .text property for my textbox. I was thinking that I could program an event to run when my Report Opens that would run a procedure to poplulate the textboxes that link to my other queries. Is that possible? I want to say that it is because VB seems to be pretty powerful, but unfortunately I am not used to manipulating for Reports.

Any help would be greatly appreciated.

Thanks,
Matt
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
In the "Properties" of the Report, you can only specify one Recordsource. I'm not 100% certain, but this leads me to believe that you can build a report off of only one table or query (it might be possible if you knew VBA and SQL, but it's definitely impossible using the wizards). Would it be possible for you to write a query that combines your queries and then base your report off of this query?
 
Upvote 0
For your first question, the easiest way would be to combine all the fields you want into a separate query and use that as the record source for the report.

Not sure what you mean with the second one, but you can just type directly into the textbox (in design mode) what you want to see. For example type in =SUM([YourFieldName]) to display a total etc. You can also build these expressions in the textbox's ControlSource property.
 
Upvote 0

Forum statistics

Threads
1,221,497
Messages
6,160,152
Members
451,625
Latest member
sukhman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top