Previous Topic: SELRECIF, AND, ORNext Topic: Parameters


Syntax

SELRECIF({field-name|position[,scan-length]},operator,data[,…])
	   ({field-name|position,scan-length},data-type[,…])
SELRECIF({field-name|position,scan-length},operator,{field-name|position})

AND({field-name|position[,scan-length]},operator,data[,…])
   ({field-name|position,scan-length},data-type[,…])
AND({field-name|position,scan-length},operator,{field-name|position})

OR({field-name|position[,scan-length]},operator,data[,…])
  ({field-name|position,scan-length},data-type[,…])
OR({field-name|position,scan-length},operator,{field-name|position})

Use the data definition to imply an OR condition. If the data and position are identical, but the values different, simply change the data.

SELRECIF(105,15,EQ,C'A+ Widgets,A Widgets')

When the data is different, but the position is identical, use an implied OR by listing the different data values.

SELRECIF(105,15,EQ,C'A+ Widgets',T'A WIDGETS')