Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Informix ODBC connection switching problem

This question is an extension of another question thread . I am reasking it hoping that a SAP engineer will respond.

I am using CR XI R2 to update a report template which pulls data across an Informix ODBC connection. During development, I update the Field Explorer in the report designer with the schema of the database using the Database menu item Set Datasource Location. I update all the tables and views using the ODBC connection to the database. Previously (before CR XI R2), I was able to save the report template and use it on other machines with identically configured ODBC connections which pointed to other identically configured instances of my Informix database. We maintain three copies of the Informix database on three different hosts corresponding to development, testing and production. I made changes to the report template on the development host, then moved the template to the testing host, which had an identical ODBC connection to a different Informix database, and everything worked. I thought that this was how ODBC connections were supposed to work - the database is abstracted from the connection. The report template worked in this way until I upgraded to CR XI R2.

Here are the steps I used to reproduce the problem:

1. Open the report template in Crystal Reports XI R2

2. Update the schema information from the database in the Field Explorer using the Database menu item Set Datasource Location. During this process, I create a new ODBC connection corresponding to the Informix connection and then update all tables and views in the report

3. Use the Database menu item Verify Database to make sure that the report database connection is established

4. Click Print Preview and the report populates as expected

5. Save the report template

6. Move the report template to a different machine which has an identically configured ODBC connection which points to a different Informix database

7. Open the report template in the Crystal Reports designer

8. Click Print Preview and the report does not display properly

If you have any questions, please let me know.



Former Member
Not what you were looking for? View more on this topic or Ask a question