Form in design view...
Menu bar: View>Code
In the Sub Form_Open
[Example]
Private Sub Form_Open(Cancel As Integer)
Label1.Caption = DCount("[field1]", "Table1")
End Sub
You can change the result to go to a variable or another
textbox or wherever you need it. In the above example
field1 is any field you choose to count in the recordset
Table1 (or whatever you are calling it) - I usually will
use the ID or Key field for this.
See DCount in Access Help for further explanation.