AddIntegerRestriction adds an integer restriction expression to the open RMS file
Sub AddIntegerRestriction(rmsHandle As Integer, fldname As String, rmsop As Integer, intval As Integer )
rmsHandle
RMS file handle
fldname
Field name
rmsop
Restriction operator. Supported values:
EQ equal
NE not equal
LE less than and equal
LT less than
GE greater than and equal
GT greater than
intval
Integer value
No return value
Call AddIntegerRestriction to add an integer field restriction expression to the open RMS file before calling FirstRestrictionRecord to search records. Always make sure the field type is CBINTEGERTYPE for field with name fldname.
AddStringRestriction , AddCharRestriction , AddIntegerRestriction ,
AddLongRestriction , AddRealRestriction , AddDateRestriction ,
AddTimeRestriction , AddBooleanRestriction , GetFieldType ,
GetFieldTypebyName , AddStringRestriction