Artcl::SeekByNumber
 
Seeks an Article card by its number.
 
VARIANT_BOOL SeekByNumber (
    enum eSeekMode eSeekMode,
    BSTR bsNumber
)
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsNumber
[in] The number of the Article you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
Remarks
This method seeks the file using the key 'ART_NUM' (key number 1).
 
See Also
CreateArtcl
The UNIT4 C-Logic Description File 'Artcl.cld' in the Cld-directory in the system path of your Venice installation.
 
Samples
 
C++
 
// Seek the article with number = 'Art_001'
if (pArtcl->SeekByNumber (smEqual, "Art_001"))
    // Process record data

C#
 
// Seek the article with number = 'Art_001'
if (oArtcl.SeekByNumber (eSeekMode.smEqual, "Art_001"))
    // Process record data

VBS
 
' Seek the article with number = 'Art_001'
If oArtcl.SeekByNumber(smEqual, "Art_001") Then
    ' Process record data
End If

VB.NET
 
' Seek the article with number = 'Art_001'
If oArtcl.SeekByNumber(eSeekMode.smEqual, "Art_001") Then
    ' Process record data
End If