AnAcc::SeekByDescrDeu (Interface: AnAcc)
 
Seeks an Analytical Account card by its German description.
 
VARIANT_BOOL SeekByDescrDeu (
    enum eSeekMode eSeekMode,
    enum eAnaAccType eAnaAccType,
    BSTR bsDescr
)
 
Key information
This method uses key number 6 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pDescrDeu is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pAnaAccTypeBYTEAscending-
pDescrDeuBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
eAnaAccType
[in] A value of the 'eAnaAccType' enumeration.
bsDescr
[in] The German 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 German description = 'Träger'
if (pAnAcc->SeekByDescrDeu (smEqual, aatUnit, "Träger"))
    // Process record data

C#
 
// Seek the analytical account of type 'Unit' with German description = 'Träger'
if (oAnAcc.SeekByDescrDeu (eSeekMode.smEqual, eAnaAccType.aatUnit, "Träger"))
    // Process record data

VBS
 
' Seek the analytical account of type 'Unit' with German description = 'Träger'
If oAnAcc.SeekByDescrDeu(smEqual, aatUnit, "Träger") Then
    ' Process record data
End If

VB.NET
 
' Seek the analytical account of type 'Unit' with German description = 'Träger'
If oAnAcc.SeekByDescrDeu(eSeekMode.smEqual, eAnaAccType.aatUnit, "Träger") Then
    ' Process record data
End If