Venice
Accnt::SeekByAccNum
 
Seeks an Account card by its account number.
 
VARIANT_BOOL SeekByAccNum (
    enum eSeekMode eSeekMode,
    BSTR bsAccNum
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pNumberBSTRAscendingCase sensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsAccNum
[in] The account number of the General Account you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateAccnt
 
Samples
 
C++
 
// Seek the general account with number = '100'
if (pAccnt->SeekByAccNum (smEqual, "100"))
    // Process record data

C#
 
// Seek the general account with number = '100'
if (oAccnt.SeekByAccNum (eSeekMode.smEqual, "100"))
    // Process record data

VBS
 
' Seek the general account with number = '100'
If oAccnt.SeekByAccNum(smEqual, "100") Then
    ' Process record data
End If

VB.NET
 
' Seek the general account with number = '100'
If oAccnt.SeekByAccNum(eSeekMode.smEqual, "100") Then
    ' Process record data
End If