PdcClockLine.PersonelName

From External Bemet Wiki
Revision as of 12:14, 31 July 2013 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

PersonelName as String

Description

Returns the personel name

Notes

This property returns the Personel name of the clock line's personel number.

Code example

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

Sub sGetClockLinePersonelName
dim objClockLine
dim intID

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

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

  set objClockLine = nothing
End Sub

Availability

Available since july 2008 (from version 3.8).