You can run a classic report from RTC. No problem with that.
But what if you want to run the classic report from a page, with some filtering. For instance, printing a partiular invoice from a page, without requeiring the user to enter the filtering manually in the request form?
In other words, how to pass parameters to the classic report from RTC?
0
Comments
Main reason is that I get an error.
Cannot find Server COMPUTERNAME.DOMAINNAME.NET
I can ping COMPUTERNAME.DOMAINNAME.NET
Starting the classic client and entering the COMPUTERNAME.DOMAINNAME.NET gives me the same error.
Entering the COMPUTERNAME works fine in classic.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Run a codeunit to run the report with filters. If they are passed, which I'm sure it will.
So please test it and let us know.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
This is what you get when you try that:
You mentioned passing filters. In your case you are calling a function? Can I see your code?
Here is the I was running. It was starting the classic client and filters were passing without error. So classic client is starting without any error.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
what you cannot do is to invoke a funcion defined in the classic report from RTC: then you get the error. The case is that in some cases I do some parameter passing thru a function in the report.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
It seems that you even cannot pass parameters to the report via a SingleInstance codeunit (may be the codeunit is not quite SingleInstance, when the classic report viewer is started... - seems to become DoubleInstance...)