I have added an "end if " at the end and is not giving any errors now , but is not displaying the number on the label.
Anything wrong with the code?
Code:
Private Sub Form_Current() If Me![List49].ListIndex = -1 Then Me![Label37].Caption = Me.CurrentRecord Else Me![Label37].Caption = Me![List49].ListIndex + 1 End If End Sub
Comment