Hi all!
I saw this forum had regular responses, and I've already read through some of them and tried to fix my problem. I am IT Manager for a company and we are trying to run some of our normal reports against older versions of our database.
The basis info on my environment:
-- Database Server: SQL Server 2005
-- Crystal Reports: XI
-- Everything is on our LAN
Monthly we close the books, etc... I make a "pre-close" full backup each time. Now I've been asked to restore each of the backups to its own NEW database on the server. I have accomplished this task.
Now, we're trying to take our existing Crystal Reports and run them against each of these newly restored databases. So, naturally, I create some new ODBC connections for each database. I have named each database on the SQL server as follows: JANUARY2009, FEBRUARY2009, MAR....
So, I establish new ODBC connections successfully, all of them test out. Then I pop open Crystal XI and right click on the Database Fields, select Set Datasource Location, Make New Connection, then I choose the appropriate ODBC, let's say JANUARY2009's ODBC connection, then I click <UPDATE>.
I re-run the report (F5) > but I'm getting data that I KNOW is not in the newly restored database. How do I know this? I open up SQL Server Management Studio, perform a basic query against JANUARY2009:
select * from ARFIM where INVOICE_DATE > '2009-01-31 00:00:00.000'
Boom! No records. Yet records are showing in Crystal that are beyond that date (all the way up to the present).
What you think could help me on this one? The report is somewhat complex, so I'm not sure I could be able to get a brandf new one created in a short amount of time.
I saw this forum had regular responses, and I've already read through some of them and tried to fix my problem. I am IT Manager for a company and we are trying to run some of our normal reports against older versions of our database.
The basis info on my environment:
-- Database Server: SQL Server 2005
-- Crystal Reports: XI
-- Everything is on our LAN
Monthly we close the books, etc... I make a "pre-close" full backup each time. Now I've been asked to restore each of the backups to its own NEW database on the server. I have accomplished this task.
Now, we're trying to take our existing Crystal Reports and run them against each of these newly restored databases. So, naturally, I create some new ODBC connections for each database. I have named each database on the SQL server as follows: JANUARY2009, FEBRUARY2009, MAR....
So, I establish new ODBC connections successfully, all of them test out. Then I pop open Crystal XI and right click on the Database Fields, select Set Datasource Location, Make New Connection, then I choose the appropriate ODBC, let's say JANUARY2009's ODBC connection, then I click <UPDATE>.
I re-run the report (F5) > but I'm getting data that I KNOW is not in the newly restored database. How do I know this? I open up SQL Server Management Studio, perform a basic query against JANUARY2009:
select * from ARFIM where INVOICE_DATE > '2009-01-31 00:00:00.000'
Boom! No records. Yet records are showing in Crystal that are beyond that date (all the way up to the present).
What you think could help me on this one? The report is somewhat complex, so I'm not sure I could be able to get a brandf new one created in a short amount of time.