| |
| Seeks an Analytical Account card by its code. |
| |
 |
VARIANT_BOOL SeekByCode ( enum eSeekMode eSeekMode, enum eAnaAccType eAnaAccType, BSTR bsCode ) |
|
| |
| Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | eAnaAccType | | [in] A value of the 'eAnaAccType' enumeration. | | bsCode | | [in] The code of the Analytical Account 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 'AAC_COD' (key number 2). |
|
| |
| See Also |
 |
CreateAnAcc |
 | The UNIT4 C-Logic Description File 'AnAcc.cld' in the Cld-directory in the system path of your Venice installation. |
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the analytical account of type 'Centre' with code = 'CENT'
if (pAnAcc->SeekByCode (smEqual, aatCent, "CENT"))
// Process record data
|
|
 |
C# |
| |
// Seek the analytical account of type 'Centre' with code = 'CENT'
if (oAnAcc.SeekByCode (eSeekMode.smEqual, eAnaAccType.aatCent, "CENT"))
// Process record data
|
|
 |
VBS |
| |
' Seek the analytical account of type 'Centre' with code = 'CENT'
If oAnAcc.SeekByCode(smEqual, aatCent, "CENT") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the analytical account of type 'Centre' with code = 'CENT'
If oAnAcc.SeekByCode(eSeekMode.smEqual, eAnaAccType.aatCent, "CENT") Then
' Process record data
End If
|
|