Crystal Report 2008

How to change database name dynamically in Crystal Report

I had a crystal report which is called within C# to generate a pdf file.

While deploying i had to change the db name. How to change the database name without changing the database info in the report itself

This will not work: repDoc.SetDatabaseLogon(db_username, db_password, server_name, database_name);

Use this       

    repDoc.Load(repFilePath);

Subscribe to RSS - Crystal Report 2008