AddRealRestriction

AddRealRestriction adds a real restriction expression to the open RMS file

Syntax

Sub AddRealRestriction(rmsHandle As Integer, fldname As String, rmsop As Integer, dbval As Double )

Parameters

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

dbval

Double value

Return Values

No return value

Remarks

Call AddRealRestriction to add a real field restriction expression to the open RMS file before calling FirstRestrictionRecordFirstRestrictionRecord to search records.  Always make sure the field type is CBREALTYPE for field with name fldname.

See Also

AddStringRestrictionAddStringRestriction, AddCharRestrictionAddCharRestriction, AddIntegerRestrictionAddIntegerRestriction,

AddLongRestriction
AddLongRestriction, AddRealRestrictionAddRealRestriction, AddDateRestrictionAddDateRestriction,

AddTimeRestriction
AddTimeRestriction, AddBooleanRestrictionAddBooleanRestriction, GetFieldTypeGetFieldType,

GetFieldTypebyName
GetFieldTypebyName, AddStringRestriction