PdcClockLines.Open

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Open(aID as long) as PdcClockLine

Description

Returns an opened clockline object with the supplied id

Notes

This property opens an existing clockline object. The input parameter is the ID of the clock line. Pay attention: The sequence of filling properties is important. See the helpfile for the properties.

Code example

This example code opens a clock line and change the personal number.

dim objClockLine

  Set objClockLine = Pdc.ProductRegistration.ClockLines.Open(567)
  objClockLine.PersonelNo = "1014"
  objClockLine.Save
  Set objClockLine = nothing

Availability

Available since july 2008 (from version 3.8).