Venice
Suppl::SeekByName
 
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 = 'ADRI NV'
if (pSuppl->SeekByName (smEqual, "ADRI NV"))
    // Process record data

C#
 
// Seek the supplier with name = 'ADRI NV'
if (oSuppl.SeekByName (eSeekMode.smEqual, "ADRI NV"))
    // Process record data

VBS
 
' Seek the supplier with name = 'ADRI NV'
If oSuppl.SeekByName(smEqual, "ADRI NV") Then
    ' Process record data
End If

VB.NET
 
' Seek the supplier with name = 'ADRI NV'
If oSuppl.SeekByName(eSeekMode.smEqual, "ADRI NV") Then
    ' Process record data
End If