2 weeks ago
I started absed on one Crystal report was already created, and I reomved all the associated tables, and created the new ones, and I used I COMMAND, just to have a simple query.
Then, If I run the Report connected to DEV or PROD, it works and very fast, around 1.6 secs.
I have created three Input Paremeters:
1. Plant # ; 2 Initial_Date ; 3. Final_Date.
Running the report locally on my PC, I used Plant # = 02 ; Initial_Date = 04/01/2023 ; Final_Date = 04/30/2023 ( means 1 month ), where I know there are 25 records involved, and it takes 1.6 secs, but If I run from SAP BI, making the Schedule, and running right now, it takes more 40 minutes. What I am missing here ?
I compared this report, and I noticed that as others reports, I have something in the TAB links in Database Expert, but in this one, I don't even have the TAB Links, could be that the issue ?
If so, how can I fix it ?
Just to answer your questions JWisseman ;
Questions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the info.
Here's what I sometimes do if I've made changes to a report and it no longer works somewhere in the enterprise environment. Please do see Don's answer as well for further information.
And this is what I have in the report when I click on Database Fields and Database Expert,
Then, inside MFGDEV and all in Production is the same , I have this kind of Data Structure :
The Tables I need are in that list, but still I need to re-added ?,
Then, should I replace the whole folder MFGDEV, and then do the same with all the others ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. I believe, It makes sense.
So, I am referencing 5 tables in my query, then I need to add each one of these table following the procedure :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is the way you created the new report, it still has the old database connection info, which will work fine on your PC but when you send it off to someone else that connection will no longer work and that user has no connection to the previous DB.
CR keeps a copy of the DB info in the RPT file, even if it's not being used.
As Jamie indicated the reason the link option is available is because it has the old connection.
The delay is due to CR attempting to connect to the old data source....
Click on Database, Expert and remove the old connection, if it fails it's because there are still references to the original data source in the report somewhere, look at the report properties will show you where they are.
Create a new report, copy in the Command SQL and copy/paste int the various section info, fields etc.
Now it should work fine on the BI server...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ghevia99, the Links tab will show up if there's more than 1 database object utilized on a report. If you are using a single Command object then there shouldn't be a Links tab.
Questions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.