AddTimeRestriction adds a time restriction expression to the open RMS file
Sub AddTimeRestriction(rmsHandle As Integer, fldname As String, rmsop As Integer, timestr As String, timefmt As String)
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
timestr
Time value as string
timefmt
Date format. Supported time formats:
HH, HHMM, HHMMSS, HH:MM, HH:MM:SS, HHam, HHMMam,
HHMMSSam, HH:MMam, HH:MM:SSam, HHpm, HHMMpm,
HHMMSSpm, HH:MMpm, HH:MM:SSpm
No return value
Call AddTimeRestriction to add a time field restriction expression to the open RMS file before calling FirstRestrictionRecord to search records. Always make sure the field type is CBTIMETYPE for field with name fldname.
AddStringRestriction , AddCharRestriction , AddIntegerRestriction ,
AddLongRestriction , AddRealRestriction , AddDateRestriction ,
AddTimeRestriction , AddBooleanRestriction , GetFieldType ,
GetFieldTypebyName , AddStringRestriction