UpdateEndDate

Parent Previous Next

UpdateEndDate

This function Update the end date of the Trend object.


Function Definition:


void UpdateEndDate(DateTime date)


.      DateTime date: A DateTime parameter that represents the end date of the Trend.


To configure this function, follow the steps below:


1.   In an object event, configure the UpdateEndDate function: TrendObjectName.UpdateEndDate(date);


2.    During the execution of RunTime, run the configured event.



Example UpdateEndDate:


In the graphic document, the user has one Trend object (named as Trend1). In a Button object (named as Button1) the user configures the UpdateEndDate event with the following event:


Trend1.UpdateEndDate(@date);


In this event, the Button1 will sets the Trend end date.




 

Note: This property exists only to the following objects:

.         Trend