|
Seeks a Financial Book by its type and name. |
|
|
VARIANT_BOOL SeekByTyName ( enum eSeekMode eSeekMode, enum eFBookType eFBookType, BSTR bsName ) |
|
|
Key information | | | Key segment information | Segment Name | Type | Order | Collation | pFBookType | BYTE | Ascending | - | pName | BSTR | Ascending | Case insensitive |
| | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | eFBookType | [in] A value of the 'eFBookType' enumeration. | bsName | [in] The name of the Financial Book you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Check if there is a financial book of type 'Cash' with name = 'Cash payments'
if (pFBook->SeekByTyName (smEqual, fbCash, "Cash payments"))
// Process record data
|
|
|
C# |
|
// Check if there is a financial book of type 'Cash' with name = 'Cash payments'
if (oFBook.SeekByTyName (eSeekMode.smEqual, eFBookType.fbCash, "Cash payments"))
// Process record data
|
|
|
VBS |
|
' Check if there is a financial book of type 'Cash' with name = 'Cash payments'
If oFBook.SeekByTyName(smEqual, fbCash, "Cash payments") Then
' Process record data
End If
|
|
|
VB.NET |
|
' Check if there is a financial book of type 'Cash' with name = 'Cash payments'
If oFBook.SeekByTyName(eSeekMode.smEqual, eFBookType.fbCash, "Cash payments") Then
' Process record data
End If
|
|