onAddRecord - event of object PmTrend

The event fires on request for saving the values (as a new record), but before the saving is done. This event can be used for preparing the data to be saved.
pMe(Object) Reference to the Promotic object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.

The pEvent parameter is not used here because this event does not need any additional information.

The record saving request can be fired automaticaly by the internal timer (see Automatic value saving after the launch is enabled) or by calling the Run or RunTime methods.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice