4D v14.3

Records in table

Home

 
4D v14.3
Records in table

Records in table 


 

Records in table {( aTable )} -> Function result 
Parameter Type   Description
aTable  Table in Table for which to return the number of records, or Default table, if omitted
Function result  Longint in Total number of records in the table

Records in table returns the total number of records in aTable. Is new record returns the number of records in the current selection only. If Records in table is used within a transaction, records created during the transaction will be taken into account.

Example  

The following example displays an alert that shows the number of records in a table:

 ALERT("There are "+String(Records in table([People]))+" records in the table.")

 
PROPERTIES 

Product: 4D
Theme: Records
Number: 83

 
HISTORY 

Created: < 4D v6

 
SEE ALSO 

Records in selection

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)