Is there anyway that I can switch DSNs at runtime on CE8.5
I'm coding in ASP and have tried scheduling a generic report against multiple DSNs, but it keeps complining about the logon information. The information sent is valid.
CE is not designed for dynamically switching datasource in runtime, in CR, you can use setlogoninfo to change it. Furthermore, CE can't be approached with ASP, you need to customize its own CSP page to access the reports.
I can do it in CR no problems. Just have an issue 'saving' the report in CE.
I have managed to expose all the properties I need to including the Tables, but once you change the DataSource and Database names, I schedule the report to generate an instance. It's at this point it fails.
It is possible to do. I have spoken to Crystal Decisions recently and they have stated it can be done...but I don't want to pay them to do it!
Hi,
The only way I can find to change the datasource of a published report is to open that report from the Enterprise Folder in CR Pro and use the 'set location' functions to modify it and then re-save it to the folder.
I know of no code that could do this dynamically.
If Crystal Support says it can be done, search their support site for white papers or Tech Notes describing how...
I think RAS for CE8.5 can do it in some ways. I have spoken with Crystal Tech support people, that's what they told me. and DSN should be changed programmtically.
CR, for sure, you can switch datasource in runtime.
Don't know how about CE9, can anyone share how it works in CE or CR9?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.