sx_RYOFilterGetBit

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_RYOFilterGetBit

VB Declaration

Declare Function sx_RYOFilterGetBit Lib "Apollo9.dll"

(ByVal iFilterHandle As Integer,  

ByVal lRecNo As Long)  

As Integer

C Declaration

BOOL FAR PASCAL sx_RYOFilterGetBit

(SHORT iFilterHandle,  

LONG lRecNo);

Description

Gets a bit corresponding to the table record represented by lRecNo.

Parameters

iFilterHandle: An integer identifier of the bitmap returned from either sx_RYOFilterCopy or sx_RYOFilterCreate . If this parameter is passed as zero, the active bitmap is acted upon.

lRecNo: The number of the bit to be retrieved. This number represents the physical location of the table record.

Return Value

True or False depending on the outcome of the operation. If the bit is set, the return is True.

VB Example

If sx_RYOFilterGetBit( hBitMap, sx_RecNo()) Then

MsgBox "Record is valid"

End If

C Example

if (sx_RYOFilterGetBit(hBitMap, sx_RecNo()))

AfxMessageBox((LPCSTR) "record is valid");

See Also

sx_RYOFilterActivate, sx_RYOFilterCopy, sx_RYOFilterCreate, sx_RYOFilterDestroy, sx_RYOFilterSave, sx_RYOFilterSetBit