| |
| Seeks a Supplier card by its group code. |
| |
 |
VARIANT_BOOL SeekByGroup ( enum eSeekMode eSeekMode, BSTR bsGroup, LONG lSupNum, LONG lSubNum ) |
|
| |
| Key information |  | This method uses key number 6 (See SwapKey). |  | This is a unique key. |
| | | | Key segment information | | | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsGroup | | [in] The group code of the supplier you want to seek. | | lSupNum | | [in] The number of the Supplier you want to seek. | | lSubNum | | [in] The subnumber of the Supplier you want to seek. | | | | Return value |
| True if the record with the given properties was found, otherwise false. |
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Check if the supplier with number = 125 and subnumber = 2 is a member of the group 'GROUP'
if (pSuppl->SeekByGroup (smEqual, "GROUP", 125, 2))
// Supplier is member of the group
|
|
 |
C# |
| |
// Check if the supplier with number = 125 and subnumber = 2 is a member of the group 'GROUP'
if (oSuppl.SeekByGroup (eSeekMode.smEqual, "GROUP", 125, 2))
// Supplier is member of the group
|
|
 |
VBS |
| |
' Check if the supplier with number = 125 and subnumber = 2 is a member of the group 'GROUP'
If oSuppl.SeekByGroup(smEqual, "GROUP", 125, 2) Then
' Supplier is member of the group
End If
|
|
 |
VB.NET |
| |
' Check if the supplier with number = 125 and subnumber = 2 is a member of the group 'GROUP'
If oSuppl.SeekByGroup(eSeekMode.smEqual, "GROUP", 125, 2) Then
' Supplier is member of the group
End If
|
|