Venice
ArtLoc::SeekBySysNum
 
Seeks an Article Location card by its system number.
 
VARIANT_BOOL SeekBySysNum (
    enum eSeekMode eSeekMode,
    LONG lSysNum
)
 
Key information
This method uses key number 0 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pSysNumLONGAscending-
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
lSysNum
[in] The system number of the record you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateArtLoc
 
Samples
 
C++
 
// Seek the record with system number = 56
if (pArtLoc->SeekBySysNum (smEqual, 56))
{
    // Process record data
}

C#
 
// Seek the record with system number = 56
if (oArtLoc.SeekBySysNum (eSeekMode.smEqual, 56))
{
    // Process record data
}

VBS
 
' Seek the record with system number = 56
If oArtLoc.SeekBySysNum(smEqual, 56) Then
    ' Process record data
End If

VB.NET
 
' Seek the record with system number = 56
If oArtLoc.SeekBySysNum(eSeekMode.smEqual, 56) Then
    ' Process record data
End If