PerPay::SeekByGroup (Interface: PerPay)
 
Seeks a Periodical Payment card by its group.
 
VARIANT_BOOL SeekByGroup (
    enum eSeekMode eSeekMode,
    BSTR bsGroupCode
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pGroupCodeBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsGroupCode
[in] The group code of the Periodical Payment card you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreatePerPay
 
Samples
 
C++
 
// Seek all the periodical payment cards belonging to the group 'Insurance'
pPerPay->SeekByGroup (smFirst, "Insurance");
while (pPerPay->GetDBStatus () == 0)
{
    // Process record data
    
    pPerPay->GetNext ();
}

C#
 
// Seek all the periodical payment cards belonging to the group 'Insurance'
string strGroupCode = "Insurance";
oPerPay.SeekByGroup (eSeekMode.smFirst, "Insurance");
while (oPerPay.GetDBStatus () == 0)
{
    // Process record data
    
    oPerPay.GetNext ();
}

VBS
 
' Seek all the periodical payment cards belonging to the group 'Insurance'
Call oPerPay.SeekByGroup(smFirst, "Insurance")
While oPerPay.GetDBStatus() = 0
    ' Process record data
    
    Call oPerPay.GetNext()
Wend

VB.NET
 
' Seek all the periodical payment cards belonging to the group 'Insurance'
oPerPay.SeekByGroup(eSeekMode.smFirst, "Insurance")
While oPerPay.GetDBStatus() = 0
    ' Process record data
    
    oPerPay.GetNext()
End While