Suppl::SeekByName (Interface: Suppl)
 
Seeks a Supplier card by its name.
 
VARIANT_BOOL SeekByName (
    enum eSeekMode eSeekMode,
    BSTR bsName
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pNameBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsName
[in] The name of the supplier you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateSuppl
 
Samples
 
C++
 
// Seek the supplier with name = 'Exact C-Logic N.V.'
if (pSuppl->SeekByName (smEqual, "Exact C-Logic N.V."))
    // Process record data

C#
 
// Seek the supplier with name = 'Exact C-Logic N.V.'
if (oSuppl.SeekByName (eSeekMode.smEqual, "Exact C-Logic N.V."))
    // Process record data

VBS
 
' Seek the supplier with name = 'Exact C-Logic N.V.'
If oSuppl.SeekByName(smEqual, "Exact C-Logic N.V.") Then
    ' Process record data
End If

VB.NET
 
' Seek the supplier with name = 'Exact C-Logic N.V.'
If oSuppl.SeekByName(eSeekMode.smEqual, "Exact C-Logic N.V.") Then
    ' Process record data
End If