PdcClockLine.Save
Jump to navigation
Jump to search
Declaration
Save as Boolean
Description
Returns true or false whether the clockline could be saved
Notes
This method stores an opened and changed or a new clock line. The result of the save method indicates it was succesfull or not. If the clock line was not succesfull stored, the pdc.LastError shows the report of errors.
Code example
This code example shows amongst others the message "Personal number is empty", because the new clockline object is not filled with data.
dim objClockLine
Set objClockLine = Pdc.ProductRegistration.ClockLines.New
if not objClockLine.Save then
msgbox pdc.LastError
end if
Set objClockLine = nothing
Availability
Available since july 2008 (from version 3.8).