Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CRW_REF.PDF
Скачиваний:
5
Добавлен:
13.02.2015
Размер:
13.99 Mб
Скачать

Enter the following information in the fields provided:

Parameter Name: Enter the name you want to use to identify the parameter field.

Prompting Text: Enter the text you want to appear when the program prompts you.

Value Type: Enter the data type of the parameter field.

Default Prompting Value: Enter the value you want the program to use if you do not supply a new value.

Browse Field: Use this drop-down box to specify a default field.

!Click OK.

The parameter field can now be used in your query. See How to use a parameter field in a query, Page 487.

How to use a parameter field in a query

After you have created a parameter field in the Query Designer (see How to create a parameter field for use in a query, Page 486), return to the Create Query Expert by choosing the QUERY command on the Edit menu.

Click the Select Tab to activate it.

Queries

487

!Select the database field you would like to select records for from the Database Fields list box.

"Click the Add button. The field now appears in the Select Fields list box and two drop-down boxes appear.

#When you select equal to, one of, less than, greater than, between, starting with, or like from the second drop-down box, one or more additional drop-down boxes appears.

The parameter field you created will appear in the field dropdown box.

$ Select the parameter field from the field drop-down box.

%Click to the SQL Tab to activate it.

You will see exactly how the parameter field is used in the SQL statement.

488

Seagate Crystal Reports User’s Guide

Queries

489

490

Seagate Crystal Reports User’s Guide

22 Dictionaries

What you will find in this chapter...

Dictionaries Overview, Page 492

Why use a dictionary?, Page 492

HANDS-ON (Dictionaries), Page 493

Dictionaries

491

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]