Skip to content

DataSplice Support Website

Sections
Personal tools

Filters

As you are looking at views in the DataSplice Remote Client, you may want to search for particular items in the view that meet specific criteria. The filter field determines the criteria used to retrieve records from the database. The records returned from the query will have the same value in the specified field.

Filter Highlight

Filter Operators

Filter operators allow you to choose how you would like to compare the field in question and the value of that field you want to find.

= Equal To
< Less Than
> Greater Than
<= Less Than or Equal To
>= Greater Than or Equal To
<> Not Equal To
LIKE Compares an item using a wildcard
IS NULL Returns values which are null
IS NOT NULL Returns values which are not null

Wildcards

A wildcard is a placeholder for characters which do not have to be specified. Wildcards can be used in the filter field. For example, the records for all employees whose employee numbers begin with 27 can be retrieved by using a wildcard. In this case, the filter field would be Employee Number, and the value in the field would be 27%. The percent sign indicates that anything can follow the 27. In this particular case, all of the following numbers could be returned: 27, 270, 27462983.

Creating Simple Filters

Simple Filter To create a simple filter:

  1. Click the blue filter field. A dropdown box will appear:

    Filter Dropdown

  2. From the dropdown list, choose the field you would like to search on, such as Point Num.
  3. Click on the blue "=" character to choose which operator you would like to use. For more information, please see the Filter Operators section above.
  4. In the text field, enter the value you would like to find.
  5. Click the Search button Search to retrieve the records.

Multiple Simple Filters To create multiple filters:

  1. Click the blue filter field. A dropdown box will appear:

    Filter Dropdown

  2. From the dropdown list, choose Add New Field. Another filter field will appear below the original one.
  3. Click the new filter field. The same dropdown box will appear. From the dropdown list, select the field of interest.
  4. Click on the blue "=" character next to each filter field to choose which operator you would like to use for each of the filter fields. For more information, please see the Filter Operators section above.
  5. In the text fields, enter values to search on for both filter fields.
  6. Click the Search button Search to retrieve the records.

Creating Complex Filters

Complex filters are more powerful than simple filters because they can be combined to further refine the data displayed.

Filters in the same column are joined with an AND operation. The records retrieved must meet all of the conditions of all of the filters in that row.

Filters in the same row are joined by an OR operation. The records retrieved must meet all of the conditions of at least one of the filters.

Complex Filters To create a complex filter:

  1. From the Records menu at the bottom of the screen, choose Edit Complex Filter. This will change the filter area to two columns, titled Filter 1 and Filter 2.
  2. Double click in a field to create a filter. You will be shown a screen with value fields for Display Name, Test, and Value.
  3. Fill in the Display Name, Test, and Value fields as desired. The Display Name and Test fields are both dropdown lists.
  4. Click OK.
  5. The new filter will now appear in the filter grid.

Creating Advanced Filters

The basic filtering technique (selecting field, test, and value) works for most situations and is preferred because it ensures correct syntax in the query statements. More advanced filters may be created by checking the Plain Text Filter box on the Edit Filter Item dialog box and entering a custom SQL statement. This provides the opportunity to create unique filters based on the syntax of the particular database view by inputting text that will be inserted into the where clause without modification.

Plain text filter To create an advanced filter:

  1. From the menu at the bottom of the screen, click Records > Edit Complex Filter. This will change the filter area to two columns, titled Filter 1 and Filter 2.
  2. Double click in a field to create a filter. You will be shown a screen with value fields for Display Name, Test, and Value.
  3. Select the Plain text filter checkbox at the bottom of the screen. This will change the screen into a large text area.
  4. Type your custom filter into the text area.
  5. Click OK.
  6. The new filter will now appear in the filter grid.

 


Last modified 2004-12-17 03:29 PM
 

Powered by Plone

This site conforms to the following standards: