Progress
Report Builder
User’s Guide


BEGINS

Tests a character expression to see if that expression begins with a second character expression.

SYNTAX

expression1 BEGINS expression2 

expression1

An expression that has a character value that you want to test to see if it begins with expression2.

expression2

An expression that has a character value that you want to compare to the beginning of expression1.

EXAMPLE

When used as a filter condition, this expression finds records for all the customers whose phone number is in the 617 area code:

Phone BEGINS "617" 

NOTE

Report Builder considers trailing blanks in the BEGINS operator. For example, this statement is FALSE:

"x"  BEGINS  "x      " 

This is different than comparisons, where trailing blanks are ignored. For example, this statement IS TRUE:

"x"  = "x     " 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095