To create a prompted
section filter for a date, time, or timestamp in a relational data
source, complete these steps:
-
At the top of the
Section
Data panel, click
OptionsSection Filters or select
DataSection Filters. This opens the
Section Filters dialog
box. Click
New to open the
Create
Custom Filter dialog box.
-
In the
Filter
name field, accept the default name or provide a different
name. For example, if you are creating a prompted filter that will
enable users to select a date range, type a name such as
Prompted
Beginning and Ending Date
. The filter name appears
in the
Apply custom filters box in the
Section
Filters dialog box.
-
From the
Data
item drop-down list, select the date data item that you
want to filter.
-
From the
Operator drop-down
list, specify how the prompt values should be used to filter the values
from the data source. For example, you might specify that you want
users to see query results that are between the entered prompt values.
-
Select the
Prompt
user to enter values check box.
-
In the
Prompt
text field, type instructions for using the prompt. For
example, you might type
Display data for employees
who were hired after your selected date
. There
is no limit to the number of characters that you can type. The prompt
text appears in the prompt window.
-
In the
Prompt
name field, accept the default name or type a new name
for the prompt. The prompt name appears in the prompt window and in
the
Report Linking dialog box.
-
Depending on which operator
you selected, enter the required information.
|
|
Is equal
to, Is not equal to, Is
after, Is after or equal to, Is
before, and Is before or equal to
|
In the Date field, type
a date or click to use the date picker. Note that the list of valid
formats depends on your locale and language. A default value is not
required. You can backspace over the displayed date to erase it.
|
Is between
values (inclusive) and Is not between values
(inclusive)
|
In the Date fields, type
a minimum date and a maximum date or click next to each field to use the date picker. Note that
the list of valid formats depends on your locale and language. A default
value is not required. You can backspace over the displayed date to
erase it.
|
-
-
When you access the
Create Custom Filter dialog box from the
Section Filters dialog box,
the filter that you just created is automatically selected in the
Apply
custom filters box. When the filter name is selected,
the filter expression is shown in the
Expression box.
Tip
Custom filters can be saved
for future use. To turn off the filter, clear the check box next to
the filter name.
For
more information, see Apply Existing Section Filters.
To save the new section
filter and exit the
Section Filters dialog
box, click
OK.
Note: If you click
Cancel,
your new section filter is discarded.
Section Filters Dialog Box Showing a New, Prompted, Selected
Custom Date Filter and Its Expression
New section filters
are automatically added to the existing filter combination expression.
By default, new section filters are joined using the AND operator,
which means that the query results must match all selected section
filters.
For more information,
see Combine Section Filters.