PdcClockLine.ID

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

ID as long

Description

Returns the id

Notes

This property returns the ID of the clock line after the clock line is stored in the database. While the clock line is not stored, the ID has the value "0".

Code example

This code example returns the ID of clockline with ID "456".

Sub sGetClockLineID
dim objClockLine
dim intID

  intID = "456"
  set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)

  if IsValid(objClockLine) then
    msgbox objClockLine.ID
  end if

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).