NBRECORD

Contents


nbrecord is used to find the number of records in a table.

 

Syntax

   nbrecord( class )

 

Parameters

Element

Description

Restrictions

class

Description of a table.

The table must be open.

 

Examples

   # How many clients and articles?
    File BPCUSTOMER [BPC]
    Infbox "Number of clients :"-num$(nbrecord([BPC]))

 

Description and comments

nbrecord gives the number of records in a table already opened (with File or Trbegin).

Associated errors

Error

Description

ERCLAS ( 7)

The file is not open.

 

Associated key words

FILE - TRBEGIN


CONTENTS


Copyright © Sage 1999 - 2007