|
Seeks a Material Assets card by its serial number. |
|
 |
VARIANT_BOOL SeekBySerial ( enum eSeekMode eSeekMode, BSTR bsSerialNum ) |
|
|
Key information |  | This method uses key number 4 (See SwapKey). |  | This is a unique key. |  | This is a null key, only the records where pSerialNum is not blank are in the index. |
| | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | bsSerialNum | [in] The serial number 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 serial number = 'Serial_001'
if (pMaCrd->SeekBySerial (smEqual, (LPCSTR)"Serial_001"))
// Process data
|
|
 |
C# |
|
// Seek the Material Assets card with serial number = 'Serial_001'
if (oMaCrd.SeekBySerial (eSeekMode.smEqual, "Serial_001"))
// Process data
|
|
 |
VBS |
|
' Seek the Material Assets card with serial number = 'Serial_001'
If oMaCrd.SeekBySerial(smEqual, "Serial_001") Then
' Process data
End If
|
|
 |
VB.NET |
|
' Seek the Material Assets card with serial number = 'Serial_001'
If oMaCrd.SeekBySerial(eSeekMode.smEqual, "Serial_001") Then
' Process data
End If
|
|