Accnt::SeekByDescrDeu (Interface: Accnt)
 
Seeks an Account card by its German description.
 
VARIANT_BOOL SeekByDescrDeu (
    enum eSeekMode eSeekMode,
    BSTR bsDescr
)
 
Key information
This method uses key number 5 (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
pDescrDeuBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsDescr
[in] The German 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 German description = 'Rechnung'
if (pAccnt->SeekByDescrDeu (smEqual, "Rechnung"))
    // Process record data

C#
 
// Seek the general account with German description = 'Rechnung'
if (oAccnt.SeekByDescrDeu (eSeekMode.smEqual, "Rechnung"))
    // Process record data

VBS
 
' Seek the general account with German description = 'Rechnung'
If oAccnt.SeekByDescrDeu(smEqual, "Rechnung") Then
    ' Process record data
End If

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