次の方法で共有


AllReports.Count Property (Access)

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

Syntax

expression .Count

expression A variable that represents an AllReports object.

Example

For example, if you want to determine the number of forms currently open or existing 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

See Also

Concepts

AllReports Object Members

AllReports Collection