Venice
Accnt::SeekByDescrEng
 
Seeks an Account card by its English description.
 
VARIANT_BOOL SeekByDescrEng (
    enum eSeekMode eSeekMode,
    BSTR bsDescr
)
 
Key information
This method uses key number 4 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pDescrEng is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pDescrEngBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsDescr
[in] The English description 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 English description = 'Account'
if (pAccnt->SeekByDescrEng (smEqual, "Account"))
    // Process record data

C#
 
// Seek the general account with English description = 'Account'
if (oAccnt.SeekByDescrEng (eSeekMode.smEqual, "Account"))
    // Process record data

VBS
 
' Seek the general account with English description = 'Account'
If oAccnt.SeekByDescrEng(smEqual, "Account") Then
    ' Process record data
End If

VB.NET
 
' Seek the general account with English description = 'Account'
If oAccnt.SeekByDescrEng(eSeekMode.smEqual, "Account") Then
    ' Process record data
End If