Progress
Report Builder
User’s Guide


NUM-ENTRIES

Returns the number of items in a list.

SYNTAX

NUM-ENTRIES (list [ , character ] ) 

list

A list of strings — an entry list. NUM-ENTRIES returns the number of elements in the list. Specifically, NUM-ENTRIES returns the number of delimiters plus 1, and it returns 0 if list equals double quotes ("").

character

A delimiter you define for the list. The default is a comma (,). This allows the function to operate on a noncomma-separated list.

EXAMPLE

The following expression yields 3:

NUM-ENTRIES("New Customers, Old Customers, Prospects") 


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