Navigation:  Advantage Crystal Reports > Using the Advantage Crystal Reports Driver > Changing a TCrpe Report Alias at Runtime >

Changing a TCrpe Report Alias at Runtime

Crystal Reports

Previous pageReturn to chapter overviewNext page

The following code is an example of how to change the alias a report is using at run-time when using Crystal’s Delphi/Kylix/C++Builder TCrpe component:

// show report with alias it was designed with



// set a different alias


crpe1.Connect.servername := 'worktest';


// show the report with the new alias