MMpy.File.records_count

Syntax

file.records_count

Description

Property returning the number of records in a data file.

Returns

Type
Description
int Returns the number of records in a data file.

Notes

This is a read only property; it can be read, but can't be overwritten.

Examples

file = MMpy.File()
file.open(...)
 
records_count = file.records_count
print(records_count)

Resource ID

IDPH_FILE_RECORDCOUNT