How many lines are being displayed in an embedded view?

Is there a way to determine how many lines are currently displayed in an embedded view? I have navigator buttons (Previous and Next) and I would like to hide the "Previous" button if fewer than the default display (15 lines in my case) is current. Thanks.
I use the following to hide the prev/next based on how many items there are in the view:

@Elements(@DbColumn("":"NoCache";"Server":"Database";"View";1)) Note: I also use this to hide the "No Documents Found" message and replace it with something nicer when there are 0 items.

This was first published in August 2002