CB.RestoreResults

This subroutine opens the Restore Results dialog so you can restore previously saved simulation results (any results data and charts created — but not necessarily open — at the time the results are saved).

You can restore any number of results files at one time, but they must be opened one at a time by calling them with CB.RestoreResults. You do not need to reset the current simulation before you run this subroutine. You can restore results while a simulation is running, completed, or stopped.

To run this subroutine, you must have a saved .cbr file, or CB.MacroResult returns cbErrRestoreResult.

CB.RestoreResults is similar to CB.RestoreRun, available in Crystal Ball 2000.5 (5.5). However, CB.RestoreRun and CB.RestoreRunND restored an entire simulation (saved with CB.SaveRun or CB.SaveRunND), not just the results. The existing simulation had to be reset before the saved simulation could be loaded and only one simulation could be restored at a time.

See the Oracle Crystal Ball User's Guide for more information on saving simulation results.