Artcl::SeekByNumber (Interface: Artcl)
 
Seeks an Article card by its number.
 
VARIANT_BOOL SeekByNumber (
    enum eSeekMode eSeekMode,
    BSTR bsNumber
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pNumberBSTRAscendingHierarchy
 
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.
 
See Also
CreateArtcl
 
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