Export (0) Print
Expand All

AllReports.Count Property (Access)

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

expression .Count

expression A variable that represents an AllReports object.

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
Show:
© 2014 Microsoft