Venice
Custm::SeekByName
 
Seeks a Customer 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 Customer you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateCustm
 
Samples
 
C++
 
// Seek the customer with name = 'ADRI NV'
if (pCustm->SeekByName (smEqual, "ADRI NV"))
    // Process record data

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

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

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