Venice
Suppl::SeekByBankAcc2
 
Seeks a Supplier card by its bank account 2.
 
VARIANT_BOOL SeekByBankAcc2 (
    enum eSeekMode eSeekMode,
    BSTR bsBankAcc
)
 
Key information
This method uses key number 8 (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 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 bank account number 2 = 'BE 290-0212397-85'
if (pSuppl->SeekByBankAcc2 (smEqual, "BE 290-0212397-85"))
    // Process record data

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

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

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