Venice
Custm::SeekByBankAcc2
 
Seeks a Customer card by its bank account 2.
 
VARIANT_BOOL SeekByBankAcc2 (
    enum eSeekMode eSeekMode,
    BSTR bsBankAcc
)
 
Key information
This method uses key number 11 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pBankAccount2 is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pBankAccount2BSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsBankAcc
[in] The bank account 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 bank account number 2 = 'BE 290-0212397-85'
if (pCustm->SeekByBankAcc2 (smEqual, "BE 290-0212397-85"))
    // Process record data

C#
 
// Seek the customer with bank account number 2 = 'BE 290-0212397-85'
if (oCustm.SeekByBankAcc2 (eSeekMode.smEqual, "BE 290-0212397-85"))
    // Process record data

VBS
 
' Seek the customer with bank account number 2 = 'BE 290-0212397-85'
If oCustm.SeekByBankAcc2(smEqual, "BE 290-0212397-85") Then
    ' Process record data
End If

VB.NET
 
' Seek the customer with bank account number 2 = 'BE 290-0212397-85'
If oCustm.SeekByBankAcc2(eSeekMode.smEqual, "BE 290-0212397-85") Then
    ' Process record data
End If