Venice
AnAcc::SeekByDescrFra
 
Seeks an Analytical Account card by its French description.
 
VARIANT_BOOL SeekByDescrFra (
    enum eSeekMode eSeekMode,
    enum eAnaAccType eAnaAccType,
    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 pDescrFra is not blank are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pAnaAccTypeBYTEAscending-
pDescrFraBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
eAnaAccType
[in] A value of the 'eAnaAccType' enumeration.
bsDescr
[in] The French 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 French description = 'Produit'
if (pAnAcc->SeekByDescrFra (smEqual, aatUnit, "Produit"))
    // Process record data

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

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

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