Count Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

                 

You can use the Count property to determine the number of items in a specified collection.

Setting

The Count property setting is an Integer value and is read-only in all views.

You can determine the Count property for an object by using a macro or .

Remarks

For example, if you want to determine the number of forms currently open or exisiting on the database, you would use the following code strings:

'Determine the number of open forms.

forms.count

'Determine the number of forms (open or closed)
'in the current database.

currentproject.allforms.count