|
Seeks a Material Assets card by its code. |
|
 |
VARIANT_BOOL SeekByCode ( enum eSeekMode eSeekMode, BSTR bsCode ) |
|
|
Key information |  | This method uses key number 1 (See SwapKey). |  | This is a unique key. |
| | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | bsCode | [in] The code of the Material Assets card you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
 |
C++ |
|
// Seek the Material Assets card with code = 'CAR_001'
if (pMaCrd->SeekByCode (smEqual, (LPCSTR)"CAR_001"))
// Process data
|
|
 |
C# |
|
// Seek the Material Assets card with code = 'CAR_001'
if (oMaCrd.SeekByCode (eSeekMode.smEqual, "CAR_001"))
// Process data
|
|
 |
VBS |
|
' Seek the Material Assets card with code = 'CAR_001'
If oMaCrd.SeekByCode(smEqual, "CAR_001") Then
' Process data
End If
|
|
 |
VB.NET |
|
' Seek the Material Assets card with code = 'CAR_001'
If oMaCrd.SeekByCode(eSeekMode.smEqual, "CAR_001") Then
' Process data
End If
|
|