Suppl::SeekByBankAcc1 (Interface: Suppl)
 
Seeks a Supplier card by its bank account 1.
 
VARIANT_BOOL SeekByBankAcc1 (
    enum eSeekMode eSeekMode,
    BSTR bsBankAcc
)
 
Key information
This method uses key number 7 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pBankAccount1 is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pBankAccount1BSTRAscendingCase 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 1 = 'BE 290-0212397-85'
if (pSuppl->SeekByBankAcc1 (smEqual, "BE 290-0212397-85"))
    // Process record data

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

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

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