J
JamesJ
When I use the following sql the label populated by the code
indicates that there is only 1 item. When I got to the second
record it displays the correct number of items (246)
Here's the odd part. When I remove DvdMovieTypeID from the
ORDER BY clause the RecCount function returns the proper number of records.
SELECT * FROM tblDvd ORDER BY DvdMovieTypeID, DvdMovieTitle
Public Function RecCount()
On Error Resume Next
Dim intCount As Integer
With CodeContextObject
intCount = .RecordsetClone.RecordCount
!lblCount.Caption = intCount & " Item(s)"
End With
End Function
Any help will be appreciated,
James
indicates that there is only 1 item. When I got to the second
record it displays the correct number of items (246)
Here's the odd part. When I remove DvdMovieTypeID from the
ORDER BY clause the RecCount function returns the proper number of records.
SELECT * FROM tblDvd ORDER BY DvdMovieTypeID, DvdMovieTitle
Public Function RecCount()
On Error Resume Next
Dim intCount As Integer
With CodeContextObject
intCount = .RecordsetClone.RecordCount
!lblCount.Caption = intCount & " Item(s)"
End With
End Function
Any help will be appreciated,
James