• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

RecordSet.filter( ) Method > RecordSet.filter( ) Method

Name

RecordSet.filter( ) Method

Synopsis

                     myRecordSet.filter(filterFunction, context)

Arguments

filterFunction

A custom function that acts as a filter for the recordset.

context

A parameter that can be passed to the filter function as an argument.

Returns

A filtered RecordSet object.

Description

The filter( ) method creates a second recordset by filtering an existing recordset using a custom filter function. This function can filter the recordset on any kind of criteria you prefer. You could, for example, filter a recordset by date, returning only those records that contain a field that is within a certain date range. You can filter any other criteria, such as length of a field, first letter of a field, or a certain word within a field.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint