J
JamesJ
I'm using the following code to the return the number of records
displayed on a Split Form 'cause I can't get the Split Form's
Navigation buttons to work properly.
Well this doesn't seem to work either.
It displays only the caption of the label (lblCount).
The code works fine on a single form using the same Record Source.
Dim intNewrec As Integer
intNewrec = IsNull(Me.ProductID)
If intNewrec Then
lblCount.Caption = "***New Record***"
Else
With Me.RecordsetClone
.MoveLast
lblCount.Caption = .RecordCount & " Items"
End With
End If
Any help will be appreciated,
James
displayed on a Split Form 'cause I can't get the Split Form's
Navigation buttons to work properly.
Well this doesn't seem to work either.
It displays only the caption of the label (lblCount).
The code works fine on a single form using the same Record Source.
Dim intNewrec As Integer
intNewrec = IsNull(Me.ProductID)
If intNewrec Then
lblCount.Caption = "***New Record***"
Else
With Me.RecordsetClone
.MoveLast
lblCount.Caption = .RecordCount & " Items"
End With
End If
Any help will be appreciated,
James