You do not need to save any changes to a report's parameters before you view it with those parameters. Saving changes could cause problems if multiple users are viewing the same report. On occasion, however, you will need to save changes to the report. Following the example below, once you have made any changes to the Report object, save them by using InfoStore.Commit.
Result = IStore.Query("Select * From CI_INFOOBJECTS Where SI_ID = " + ReportID);
ReportObject = Result.Item(1);
ReportInterface = ReportObject.PluginInterface("");
Param1 = ReportInterface.ReportParameters.Item(i);
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |