-
WSiksotof
AskWoody LoungerCheers Hans, i feel so foolish!
-
WSiksotof
AskWoody LoungerThanks Hans, it is attached, do please excuse the naming conventions and the modelling, it is inherited. There is a one to one relation with trsmain1 and tranSTD1. When I select show all in trsmain1 in the query qmain it returns a message saying no records found yet there are clearly records in trsmain1 and some in the other table too. I am at a loss.
The password is TransferMany thanks, Darren.
-
WSiksotof
AskWoody LoungerHere is a version of the report that uses DCount to provide the summary counts.
Fantastic Hans, Cheers, Darren
-
WSiksotof
AskWoody LoungerYou can specify multiple conditions like this:
=DCount(“rk”,”qRisks”, “crn='” & [crn] & “‘ AND rk=’stringexample'”)
It’s important to keep track of the single and double quotes – mismatches lead to syntax errors or to unexpected results.
Thanks Hans, I was getting the doubles and singles wrong!
-
WSiksotof
AskWoody LoungerIn the earlier topics we ended up with a main report with two subreports in the detail section, i.e. the subreports are at the same level, immediately below the main report.
Now you’re mentioning a main report, a subreport within the main report and a sub-subreport within the subreport.
That’s what confuses me, and why you will need to provide much more and much clearer information.Ok Hans, I’ll send a stripped down version once I return home.
Thanks again, Darren.
-
WSiksotof
AskWoody LoungerThis is getting rather confusing; the descriptions seem to change each time.
Could you provide a clear, precise and comprehensive description instead of just a vague general one, and/or post a stripped down and zipped copy of the database, so that we get an idea of what you’re actually working with?So sorry, this is the earlier post for which you gave me a fantastic answer that enabled to build the reports a I needed:
“I have a main table with say main ID, from this I have a many scheme table with schemeID. Scheme has two many to many relations with risks and checks. I have created appropriate junction tables for each. I have combined all these in one query to show all records.”
What I now wish to do is total the number of risks and checks at scheme level and then overall at the main level on the top parent report.
Hope this make sense.
Thank you, Darren.
-
WSiksotof
AskWoody LoungerDon’t use Parent if you’re on the main report. Use
=[SubReportName]![ControlName]
or
=[SubReportName]![SubSubReportName]![ControlName]
etc. You must use the name of the subreport as a control on its parent; this is not necessarily the same as the name of the source object in the database window.
Note: you should refer to a control in the report header or footer of the subreport; it doesn’t make sense to refer to a control in the detail section or in a group header or footer – the results would not be what you want.
Cheers Hans, Darren.
-
WSiksotof
AskWoody LoungerThe main report should be bound to the Scheme table.
One of the subreports should be bound to the Checks table, and the other to the Risks table.The Link Master Fields property should list the linking field(s) in the main report, in this example spk.
The Link Child Fields property should list the corresponding field(s) in the subreport, in this example spfk.Thank you Hans for your patience.
-
WSiksotof
AskWoody LoungerThis seems to be more like Hans, sorry for my lack of understanding. I have not manually linked reports previously, so if report 1 is the main and has spk as the scheme ID and then report 2 is one of the many to many with spfk as the scheme link, what do I actually put in the property link master and child? I have tried the ellipse builder but it doesn’t recognise an unbound report.
Cheers, Darren.
-
WSiksotof
AskWoody LoungerIf you group the report by ID, you can place a hidden text box txtRunningCount in the group header or footer with Control Source set to =1 and Running Sum set to Over All.
In the report footer, place a text box with Control Source =[txtRunningCount]
Neat Hans, thanks, Darren.
-
WSiksotof
AskWoody LoungerGuys, I apologise for wasting time here, I hadn’t named my linking field correctly, I am so so sorry.
Thanks, Darren.
-
WSiksotof
AskWoody LoungerIf you have specified the Link Child Fields and Link Master Fields properties correctly, both subforms should display the correct records automatically, without needing code.
What is frmJCheckSub?
Thanks Hans, it is form C in my example. The code was added by the wizard which I built the form with? As another point which has just ocurred to me, the second sub (C1) when doen by the wizard is not within the detail part of the second form(
. It is in form A’s detail. I am attempting to add from C2 in A’s detail too since I want B to be a recurring form which Access doesn’t seem to allow within form B’s detail. I hope this makes sense.
Thanks
-
WSiksotof
AskWoody LoungerI interpret your question differently to Hans.
I think you need two levels of grouping… not three. Group by Client, then by Account, then put the transaction specific fields in the Details section.
For each of the Groupings create a Header, and put the fields specific to that level in the Header.Thank you gents, I can see the ambiguity in my post. I did mean as John interpreted.
Thanks to you both and apologies for my delay.
Darren
-
WSiksotof
AskWoody LoungerEternally obliged Hans
Thanks, D.
-
WSiksotof
AskWoody LoungerThat’s fine Hans, will do nicely.
Regards and thanks, Darren.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Looking for personal finance software with budgeting capabilities
by
cellsee6
1 hour, 21 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
12 hours, 41 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
17 hours, 3 minutes ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 1 hour ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
3 hours, 52 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
10 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
20 hours, 40 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
2 days, 12 hours ago -
50 years and counting
by
Susan Bradley
2 hours, 59 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
1 day, 19 hours ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
2 days, 23 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
2 days, 23 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
2 days, 23 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 1 hour ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 1 hour ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 1 hour ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
17 hours, 11 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
3 days, 13 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
3 days, 13 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
3 days, 22 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
3 days, 10 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
2 days, 11 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
4 days, 7 hours ago -
Apple backports fixes
by
Susan Bradley
3 days, 13 hours ago -
Win 11 24H2 will not install
by
Michael1950
2 days, 11 hours ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
1 day, 5 hours ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
2 days, 19 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
1 day, 7 hours ago -
Get back ” Open With” in context menus
by
CWBillow
4 days, 22 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
3 days, 14 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.