Crncy::SeekByCurPrn (Interface: Crncy)
 
Seeks a Currency card by its Print code.
 
VARIANT_BOOL SeekByCurPrn (
    enum eSeekMode eSeekMode,
    BSTR bsCurrencyPrint
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pCurrencyPrintBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsCurrencyPrint
[in] The print code of the currency card you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateCrncy
 
Samples
 
C++
 
// Seek the currency with print code 'EUR'
if (pCrncy->SeekByCurPrn (smEqual, "EUR"))
{
    // Process record data
}

C#
 
// Seek the currency with print code 'EUR'
if (oCrncy.SeekByCurPrn (eSeekMode.smEqual, "EUR"))
{
    // Process record data
}

VBS
 
' Seek the currency with print code 'EUR'
If oCrncy.SeekByCurPrn(smEqual, "EUR") Then
    ' Process record data
End If

VB.NET
 
' Seek the currency with print code 'EUR'
If oCrncy.SeekByCurPrn(eSeekMode.smEqual, "EUR") Then
    ' Process record data
End If