Balan::SeekByAccNum (Interface: Balan)
 
Seeks a Monthly Balance card by its account number.
 
VARIANT_BOOL SeekByAccNum (
    enum eSeekMode eSeekMode,
    BSTR bsAccount
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pAccountBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsAccount
[in] The account number of which you want to seek the monthly balance.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateBalan
 
Samples
 
C++
 
// Seek the monthly balance card for the account with number = '400'
if (pBalan->SeekByAccNum (smEqual, "400"))
    // Process record data

C#
 
// Seek the monthly balance card for the account with number = '400'
if (oBalan.SeekByAccNum (eSeekMode.smEqual, "400"))
    // Process record data

VBS
 
' Seek the monthly balance card for the account with number = '400'
If oBalan.SeekByAccNum(smEqual, "400") Then
    ' Process record data
End If

VB.NET
 
' Seek the monthly balance card for the account with number = '400'
If oBalan.SeekByAccNum(eSeekMode.smEqual, "400") Then
    ' Process record data
End If