PerPay::SeekByDesc (Interface: PerPay)
 
Seeks a Periodical Payment card by its description.
 
VARIANT_BOOL SeekByDesc (
    enum eSeekMode eSeekMode,
    BSTR bsPerDsc
)
 
Key information
This method uses key number 3 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pPerDscBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsPerDsc
[in] The description of the Periodical Payment card you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreatePerPay
 
Samples
 
C++
 
// Seek the periodical payment card with description 'Rent payment %ClMonth%/%ClYear%'
if (pPerPay->SeekByDesc (smEqual, "Rent payment %ClMonth%/%ClYear%"))
    // Process record data

C#
 
// Seek the periodical payment card with description 'Rent payment %ClMonth%/%ClYear%'
if (oPerPay.SeekByDesc (eSeekMode.smEqual, "Rent payment %ClMonth%/%ClYear%"))
    // Process record data

VBS
 
' Seek the periodical payment card with description 'Rent payment %ClMonth%/%ClYear%'
If oPerPay.SeekByDesc(smEqual, "Rent payment %ClMonth%/%ClYear%") Then
    ' Process record data
End If

VB.NET
 
' Seek the periodical payment card with description 'Rent payment %ClMonth%/%ClYear%'
If oPerPay.SeekByDesc(eSeekMode.smEqual, "Rent payment %ClMonth%/%ClYear%") Then
    ' Process record data
End If