CB.SaveResults

This subroutine opens the Save Results dialog so you can save results data and charts for the current simulation. To run this subroutine, you must first run a simulation, or the dialog does not open. The simulation must be completed or stopped. Once you have saved a results file with .cbr extension, you can use CB.RestoreResults or CB.RestoreResultsND to open it and restore the results.

CB.SaveResults is similar to CB.SaveRun, available in Crystal Ball 2000.5 (5.5). However, CB.SaveRun stored an entire simulation, not just the results. CB.RestoreRun and CB.RestoreRunND were used to restore the saved simulation. The existing simulation had to be reset before the saved simulation could be loaded and only one simulation could be restored at a time. This differs from the current requirements for CB.RestoreResults and CB.RestoreResultsND, discussed beginning in CB.RestoreResults.

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

Note:

Before you save run results, run a simulation.