| |
| Seeks a Financial Book by its name. |
| |
 |
VARIANT_BOOL SeekByName ( enum eSeekMode eSeekMode, BSTR bsName, enum eFBookType eFBookType, BYTE bySubPrefix ) |
|
| |
| Key information | | | | | Key segment information | | Segment Name | Type | Order | Collation | | pName | BSTR | Ascending | Case insensitive | | pFBookType | BYTE | Ascending | - | | pSubPrefix | BYTE | Ascending | - |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsName | | [in] The name of the Financial Book you want to seek. | | eFBookType | | [in] A value of the 'eFBookType' enumeration. | | bySubPrefix | | [in] The subprefix 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', subprefix 0 and name = 'Cash payments'
if (pFBook->SeekByName (smEqual, "Cash payments", fbCash, 0))
// Process record data
|
|
 |
C# |
| |
// Check if there is a financial book of type 'Cash', subprefix 0 and name = 'Cash payments'
if (oFBook.SeekByName (eSeekMode.smEqual, "Cash payments", eFBookType.fbCash, 0))
// Process record data
|
|
 |
VBS |
| |
' Check if there is a financial book of type 'Cash', subprefix 0 and name = 'Cash payments'
If oFBook.SeekByName(smEqual, "Cash payments", fbCash, 0) Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Check if there is a financial book of type 'Cash', subprefix 0 and name = 'Cash payments'
If oFBook.SeekByName(eSeekMode.smEqual, "Cash payments", eFBookType.fbCash, 0) Then
' Process record data
End If
|
|