12-13-2006 6:15 PM
12-13-2006 6:24 PM
I means Include the values you have entered.
E Exclude the values you have entered.
Eg. You have entered 5 to 10 in the select option.
then usign I the values considered are 5,6,7,8,9,10.
Using E the values considered are 6,7,8,9
- guru
Reward points for helpful answers
12-13-2006 6:21 PM
12-13-2006 6:23 PM
12-13-2006 6:24 PM
I means Include the values you have entered.
E Exclude the values you have entered.
Eg. You have entered 5 to 10 in the select option.
then usign I the values considered are 5,6,7,8,9,10.
Using E the values considered are 6,7,8,9
- guru
Reward points for helpful answers
12-13-2006 7:00 PM
Hi ,
It stands for inclue and Exclude.
Now this is basically used to include and exclude it from data selection.
e.g of include
I EQ 10
So select statement will select all records where the field has the value 10 .
so the statement becomes similar to
select *
from table
where field1 eq 10.
endselect.
for excelude
E EQ 10 ,
mease the selct statement will select all records where the value of field is not equal to 10.
select *
from table
where field1 ne 10.
endselect.
Hope this makes the stuff clear,
Regards
Arun
12-13-2006 7:03 PM
Hi,
Structure of Selection Tables
The row type of a selection table is a structure that consists of four components: SIGN, OPTION, LOW, and HIGH. Each row of a selection table that contains values represents a sub-condition for the complete selection criterion. Description of the individual components:
SIGN
The data type of SIGN is C with length 1. The contents of SIGN determine for each row whether the result of the row condition is to be included in or excluded from the resulting set of all rows. Possible values are I and E.
I stands for "inclusive" (inclusion criterion - operators are not inverted)
E stands for "exclusive" (exclusion criterion - operators are inverted)
OPTION
The data type of OPTION is C with length 2. OPTION contains the selection operator. The following operators are available:
If HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions. Yet operators CP and NP do not have the full functional scope they have in normal logical expressions. They are only allowed if wildcards ( '*' or '+' ) are used in the input fields. If wildcards are entered on the selection screen, the system automatically uses the operator CP. The escape character is defined as #.
If HIGH is filled, you can use BT (BeTween) and NB (Not Between). These operators correspond to BETWEEN and NOT BETWEEN that you use when you check if a field belongs to a range. You cannot use wildcard characters.
LOW
The data type of LOW is the same as the column type of the database table, to which the selection criterion is linked.
If HIGH is empty, the contents of LOW define a single field comparison. In combination with the operator in OPTION, it specifies a condition for the database selection.
If HIGH is filled, the contents of LOW and HIGH specify the upper and lower limits for a range. In combination with the operator in OPTION, the range specifies a condition for the database selection.
HIGH
The data type of HIGH is the same as the column type of the database table, to which the selection criterion is linked. The contents of HIGH specify the upper limit for a range selection.
If the selection table contains more than one row, the system applies the following rules when creating the complete selection criterion:
Form the union of sets defined on the rows that have SIGN field equal to I (inclusion).
Subtract the union of sets defined on the rows that have SIGN field equal to E (exclusion).
If the selection table consists only of rows in which the SIGN field equals E, the system selects all data outside the set specified in the rows.
Regards,
Vara
12-14-2006 11:49 AM
hi balu,
sign option has two values
'I' is for include.ie the system includes the value ranges specified in the select-options.
'E' is for exclude.ie the system excludes the value ranges specified in the select-options.
with regards,
magesh