| |
| Seeks a Book card by its code. |
| |
 |
VARIANT_BOOL SeekByCode ( enum eSeekMode eSeekMode, enum eBookType eBookType, BSTR bsCode ) |
|
| |
| Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | eBookType | | [in] A value of the 'eBookType' enumeration. | | bsCode | | [in] The code of the Book you want to seek. | | | | Return value |
| True if the record with the given properties was found, otherwise false. | | | | Remarks |
 | This method seeks the file using the key 'BOO_BOO' (key number 1). |
|
| |
| See Also |
 |
CreateBook |
 | The UNIT4 C-Logic Description File 'Book.cld' in the Cld-directory in the system path of your Venice installation. |
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the purchase book with code = 'APRCH'
if (pBook->SeekByCode (smEqual, btPurch, "APRCH"))
// Process record data
|
|
 |
C# |
| |
// Seek the purchase book with code = 'APRCH'
if (oBook.SeekByCode (eSeekMode.smEqual, eBookType.btPurch, "APRCH"))
// Process record data
|
|
 |
VBS |
| |
' Seek the purchase book with code = 'APRCH'
If oBook.SeekByCode(smEqual, btPurch, "APRCH") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the purchase book with code = 'APRCH'
If oBook.SeekByCode(eSeekMode.smEqual, eBookType.btPurch, "APRCH") Then
' Process record data
End If
|
|