| dbRecordCount |
This is a read / write property and is the #1 performance tuning property. If user set this property to the known recordcount ahead of time, no counting will be done in ASPdb.
| Property Syntax |
Obj.dbRecordCount =
Pre-Determined RecordCount (Long)
Long Variable = Obj.dbRecordCount
| Example |
| <% Set X= Server.CreateObject("Asp.DB") X.dbQuickProps="1;NWIND;Shippers;Grid;7,auto;;;ACCESS;5" X.ASPDB response.write("<Center><B>RecordCount=" & X.dbRecordCount & "</b></center>") %> |
| Output |
![]() |