SaveRetentive, SchedulerCmdTarget Function

Syntax

SaveRetentive()

Description

This function allows you to save the daily plans (normal or holidays) and the holiday dates on external files to be retained for further use after an application re-start. The file saved  is the same one which can be saved with the "Holidays Scheduler" object  for the "Daily plan" and "Date" schedulers. This function is managed only for "Daily plan" and "Date" schedulers, being those used for managing holidays.

The file is saved in the project's  "DATA" sub folder in the following format:

 

<ProjectName>_<SchedulerName>.shp

 

Parameter

Description

None

None

 

Result

Boolean

 

Example:

Option Explicit

Public Sub Click()

Dim SchedObj As SchedulerCmdTarget

Set SchedObj = GetScheduler("Sched1")

If Not SchedObj Is Nothing Then

SchedObj.SaveRetentive

End If

Set SchedObj = Nothing

End Sub

 

See Also