| |
| Seeks a Country card by its code. |
| |
 |
VARIANT_BOOL SeekByCode ( enum eSeekMode eSeekMode, BSTR bsCountryCode ) |
|
| |
| Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsCountryCode | | [in] The country code of the country card 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 'CNT_CCC' (key number 1). |
|
| |
| See Also |
 |
CreateCntry |
 | The UNIT4 C-Logic Description File 'Cntry.cld' in the Cld-directory in the system path of your Venice installation. |
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the country with country code 'BE'
if (pCntry->SeekByCode (smEqual, "BE"))
{
// Process record data
}
|
|
 |
C# |
| |
// Seek the country with country code 'BE'
if (oCntry.SeekByCode (eSeekMode.smEqual, "BE"))
{
// Process record data
}
|
|
 |
VBS |
| |
' Seek the country with country code 'BE'
If oCntry.SeekByCode(smEqual, "BE") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the country with country code 'BE'
If oCntry.SeekByCode(eSeekMode.smEqual, "BE") Then
' Process record data
End If
|
|