AnAcc::SeekByDescrNld (Interface: AnAcc)
 
Seeks an Analytical Account card by its Dutch description.
 
VARIANT_BOOL SeekByDescrNld (
    enum eSeekMode eSeekMode,
    enum eAnaAccType eAnaAccType,
    BSTR bsDescr
)
 
Key information
This method uses key number 3 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pDescrNld is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pAnaAccTypeBYTEAscending-
pDescrNldBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
eAnaAccType
[in] A value of the 'eAnaAccType' enumeration.
bsDescr
[in] The Dutch description of the Analytical Account you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateAnAcc
 
Samples
 
C++
 
// Seek the analytical account of type 'Unit' with Dutch description = 'Drager'
if (pAnAcc->SeekByDescrNld (smEqual, aatUnit, "Drager"))
    // Process record data

C#
 
// Seek the analytical account of type 'Unit' with Dutch description = 'Drager'
if (oAnAcc.SeekByDescrNld (eSeekMode.smEqual, eAnaAccType.aatUnit, "Drager"))
    // Process record data

VBS
 
' Seek the analytical account of type 'Unit' with Dutch description = 'Drager'
If oAnAcc.SeekByDescrNld(smEqual, aatUnit, "Drager") Then
    ' Process record data
End If

VB.NET
 
' Seek the analytical account of type 'Unit' with Dutch description = 'Drager'
If oAnAcc.SeekByDescrNld(eSeekMode.smEqual, eAnaAccType.aatUnit, "Drager") Then
    ' Process record data
End If