Table of Contents

, ,

SEARCH_COUNT

Description

Returns the number of object instances found by the last query

Syntax

SEARCH_COUNT

Cannot be used in the condition of a FIND action.

Parameters

None

Returns

Number: how many object instances the last query found.

Example

FIND ALL Account
IF  SEARCH_COUNT = 1 THEN 
  DISPLAY MESSAGE ('One account was found') 

LIST_SIZE, ELEMENT_COUNT