Different Subreports in one report
Hi all,
Actually I have different .frx Reports for different customers. But the main content is always the same. So after a change request I have to modify 3 reports, which is stupid.
So i'm looking for a solution to have only one report, but different subreports e.g. for the header and footer information.
So I am looking for something like: IF "Customer1" than use SubReport1 - IF "Customer2" use the SubReport2.
With simple texts it is easy to add "[IIf([customer] == "customer1", "Dear Mister", "Hello Friend"]
Because I have to adapt different things like the logo and the letter-adress (left or right) etc. I think the best is to use SubReports, am I right? If yes, how can I do this if-conditions using SubReports? Or how should I implement this problem else?
Thank you so much,
Best Regards
Marcel
Actually I have different .frx Reports for different customers. But the main content is always the same. So after a change request I have to modify 3 reports, which is stupid.
So i'm looking for a solution to have only one report, but different subreports e.g. for the header and footer information.
So I am looking for something like: IF "Customer1" than use SubReport1 - IF "Customer2" use the SubReport2.
With simple texts it is easy to add "[IIf([customer] == "customer1", "Dear Mister", "Hello Friend"]
Because I have to adapt different things like the logo and the letter-adress (left or right) etc. I think the best is to use SubReports, am I right? If yes, how can I do this if-conditions using SubReports? Or how should I implement this problem else?
Thank you so much,
Best Regards
Marcel
Comments
I could solve it by using "Report inheritance"
Thread can be closed.
Regards
Marcel