Option Compare Database<br>Option Explicit<br>Dim Db As Database<br>Dim Rst As Recordset<br>Private Sub Form_Current()<br> Set Db = CurrentDb<br> Set Rst = Db.OpenRecordset("SELECT * FROM [tblLogFile]"
<br> Rst.MoveLast<br> Me!Text0 = Rst.RecordCount<br> Rst.Close<br> Db.Close<br> End Sub<br>----------------------------------------------------------<br>The above code is the only way I can come up with to<br>get a record count to an unbound text box on a form.<br>It works fine but I would like to know if there is a<br>more elegant way to accomplish the same thing without<br>invoking a Database and Recordset object. My desire <br>is to have a summary form which displays record counts<br>from multiple tables/queries.<br><br>Any help is appreciated.<br><br>Thanks,<br>Keith