Venice
Accnt::SeekByAltNum
 
Seeks an Account card by its alternative number.
 
VARIANT_BOOL SeekByAltNum (
    enum eSeekMode eSeekMode,
    BSTR bsAltNum
)
 
Key information
This method uses key number 6 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pAltNumBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsAltNum
[in] The alternative 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 alternative number = '075'
if (pAccnt->SeekByAltNum (smEqual, "075"))
    // Process record data

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

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

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