| |
| Seeks an Article card by its description. |
| |
 |
VARIANT_BOOL SeekByDscLng ( enum eSeekMode eSeekMode, BSTR bsDescription, BYTE byLngIndex ) |
|
| |
| Key information |  | This method uses key number 3+index (See SwapKey). |  | This key allows duplicates. |  | This is a null key, only the records where (pDscLng1+index) is not blank are in the index. |
| | | | Key segment information | | Segment Name | Type | Order | Collation | | (pDscLng1+index) | BSTR | Ascending | Case insensitive |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsDescription | | [in] The description of the Article you want to seek. | | byLngIndex | | [in] The language index, stating the language of the description you want to seek by. The value of this index must be between 0 and 5. | | | | Return value |
| True if the record with the given properties was found, otherwise false. |
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the article with description in French (assuming that French has language index 3) = 'Article numéro 1'
if (pArtcl->SeekByDscLng (smEqual, "Article numéro 1", 3))
// Process record data
|
|
 |
C# |
| |
// Seek the article with description in French (assuming that French has language index 3) = 'Article numéro 1'
if (oArtcl.SeekByDscLng (eSeekMode.smEqual, "Article numéro 1", 3))
// Process record data
|
|
 |
VBS |
| |
' Seek the article with description in French (assuming that French has language index 3) = 'Article numéro 1'
If oArtcl.SeekByDscLng(smEqual, "Article numéro 1", 3) Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the article with description in French (assuming that French has language index 3) = 'Article numéro 1'
If oArtcl.SeekByDscLng(eSeekMode.smEqual, "Article numéro 1", 3) Then
' Process record data
End If
|
|