We are trying to make a weekly report containing multiple unrelated data. Currently, we want to bring in cases as a subreport to a inventory report. Is this even possible? It seems like subreports need to connect via a related table. Is it possible to bring in a subreport completely unrelated to the main file?
Hi
You can embed a subreport that isn’t related. Just insert the subreport and leave the Parameters collection empty.
To send weekly reports, you might also look at the Send Reports screen (SM205060). On this screen you can merge multiple reports and email them on a schedule.
The Velixo add-on also has the option to send reports on a schedule.
Hope this helps!
Laura
You can certainly have details which are not related to the main report data, but getting this to respond dynamically to the details entered in the main report could be hard.
A customization to add a field to the tables could help link them if there is no link already available, but you were on the right track. Subreport needs to be static, or have accurate links to be dynamic.
Just specify something in the Default Value for the parameter in the subreport and it will print the same each time.
and the main report’s code:
and how it shows up:
It still won’t show up at all.
@kkraus, do you get results when you run/preview subreport by itself?
Here’s the links to the two files:
https://drive.google.com/file/d/1_9d3ikSvuIDeGA8qNQYawwRsis2IWc5j/view?usp=drive_link
https://drive.google.com/file/d/1w8JWLi1bjg-HEDkIbTR5AXnmzpn0zl6_/view?usp=drive_link
This is correct since the subreport is meant to be viewed as more of a page within the main report, not thought of as a whole report (with all the features/functions) inside of another report. There’s a number of functions which will not work in main report since they are already being controlled by the main report. Things like Report Header/Footer, paging (though there are functional workarounds for this), visibility, etc.
Make sure the detail is in Detail sections or groupHeader/Footer sections if you want to make sure the data will be in the main report
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.