r/MSAccess • u/Prize_Painter2546 • 19d ago
[UNSOLVED] How many Access developers have built metadata-driven reporting systems for recurring Excel deliverables?
I've spent much of my career building recurring customer and management reports from Access applications and I'm curious how others have approached the problem.
I found myself running into the same requirements repeatedly:
- Multiple Excel worksheets per workbook
- Subtotals, grand totals, percentages, and formulas
- Variable grouping levels
- Charts
- Different layouts for different reports
- Customer-facing deliverables that needed a consistent appearance
Over time I moved toward a metadata-driven approach where:
- Access SQL prepares and summarizes the data
- Sorting/grouping tables define report bands
- Metadata tables define formulas, formatting, headers, footers, charts, and worksheet layout
- VBA calculates worksheet coordinates and generates the final workbook
The result is that most of the report definition is data-driven rather than hard-coded.
I'm curious whether other Access developers have gone down a similar path, or whether you've found different approaches to managing large numbers of recurring Excel reports.
I'd especially be interested in hearing from anyone who has built reporting frameworks rather than individual reports.
•
u/AutoModerator 19d ago
IF YOU GET A SOLUTION, PLEASE REPLY TO THE COMMENT CONTAINING THE SOLUTION WITH 'SOLUTION VERIFIED'
Full set of rules can be found here, as well as in the user interface.
Below is a copy of the original post, in case the post gets deleted or removed.
User: Prize_Painter2546
How many Access developers have built metadata-driven reporting systems for recurring Excel deliverables?
I've spent much of my career building recurring customer and management reports from Access applications and I'm curious how others have approached the problem.
I found myself running into the same requirements repeatedly:
Over time I moved toward a metadata-driven approach where:
The result is that most of the report definition is data-driven rather than hard-coded.
I'm curious whether other Access developers have gone down a similar path, or whether you've found different approaches to managing large numbers of recurring Excel reports.
I'd especially be interested in hearing from anyone who has built reporting frameworks rather than individual reports.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/jcradio 19d ago
This was something I commonly did as Excel was still one of the leading ways to render analytics and reports, but access was raw power for calculating, slicing and dicing.
2
u/brigandbreton 19d ago
I was there Gandalf….
Nowadays I put data in sql server or connect to compagny data warehouse and run the logic in power query.
It’s overall fast, handle good volume of data of your computer is not a toaster.
PowerBO is also nice but I found out that people are lost with it, so excel it is.
2
u/MultiUserDungeonDev 19d ago edited 19d ago
I think my next hop in that journey was actually building my own REST APIs. With the tools and AI that’s available right now, the sky is the limit. Of course, do it in the right way. Learn fundamentals. Have a security awareness. Study the common ways a project might fail and put steps in place to mitigate them.
You can them use your APIs to slice and dice by sending and receiving JSON payloads directly in Excel (Including UI rendering logic).
Another benefit is that you can design your APIs to be relatively backend agnostic, so it could be an Access DB, SQLite, SQL Server or MySQL, and it all just works the same from your front end. Basically treating Excel like a web app, or an asynchronous desktop application.
Example project:
https://github.com/WilliamSmithEdward/ReDim
Visual Demo:
https://youtu.be/2WAgLK5W5Fo?is=m8JJvfAMlN_wWx75
1
u/George_Hepworth 5 19d ago edited 18d ago
A few times, yes. Most of the time we did so when charting and graphing was part of the requirement.
1
u/KelemvorSparkyfox 51 18d ago
In a previous job, I built an Access database that had:
Each week, it would use the control values to build a new workbook from a template (saved to a network drive that was available to the whole team). It would create a DataSelect session and use other control values and the list of accounts to generate a worksheet for each account, showing current and future normal and promotional prices.
When the complete report was finished, it would then send a complete copy to everyone who didn't have an account list. This included the Sales Director, Group Finance, Credit Control, and Customer Services. For recipients who did have an account list, it would create a customised version that just included their accounts. Then it sent them, too. The sending used Lotus Notes initially, before moving to Outlook.
It turned a task of multiple hours into one that took a few minutes.
The price reports were nothing fancy - just a summary of the account details (name, ledger code(s), price list code(s)), a list of normal prices vs standard cost on the left, and a list of promotional prices vs standard cost on the right. But I would get it in the neck if the report was late!
1
u/ClovisCanoesSlowly 18d ago
This is actually a pretty interesting approach. Once you have more than a handful of recurring reports, hardcoding every layout and formula in VBA gets messy fast. Keeping the report definitions in tables sounds like a good way to make changes without constantly touching the code.
1
u/DueOwl2412 3d ago
Hey, I've done it, built Oracle driven Metadata platform and automated over 150 reports there, complex stuff, with many steps, it was all configurable It ran with MS Access front end and oracle pl sql but that's because our data was on oracle. Not sure if links are allowed here, I have it in my portfolio