This subroutine automatically saves results data and charts for the current simulation into the file specified by FileName. 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.SaveResultsND is similar to CB.SaveRunND, available in Crystal Ball 2000.5 (5.5). However, CB.SaveRunND 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.
Table 155. CB.SaveResultsND Parameters
A path surrounded by quotes (""), such as "C:\temp\sheet2.cbr" | Points to the results file where simulation results are saved |
Before running this subroutine, run a simulation. The simulation must be completed or stopped but not reset.
See the Oracle Crystal Ball User's Guide for more information on saving simulation results.