Offscreen records in continuous forms

  • Thread starter Thread starter Tinclon
  • Start date Start date
T

Tinclon

Hi,
I have a form in continuous forms mode and I need some
way of finding out if there are records off the screen,
either above or below the current display. I don't even
know where to begin with this one...

any ideas?

Thanks,
Tinclon
 
-----Original Message-----
How about having a vertical scroll bar with the form. If there are records
scrolled off at the top or off at the bottom, the scroll bar will be somewhere
between the top and bottom of its travel.

Hmmm.... it needs to be programmatic, not just visual
though. Basically, I have some labels that need to display
on the form header and footers if there are records above
or below the display respectively. The user doesn't have a
mouse - it's a keyboard only application; the scrollbar
both doesn't fit on the screen, and would be useless as a
control anyway. Any other thoughts??

Thanks kindly
Tinclon
 
-----Original Message-----
Hi,
I have a form in continuous forms mode and I need some
way of finding out if there are records off the screen,
either above or below the current display. I don't even
know where to begin with this one...

any ideas?

Thanks,
Tinclon
.


Heyhey, I figured it out, here's the code that I used...

If Me!txblineNumber - (Me.CurrentSectionTop/255) > 0 Then
Me!lblUpArrow.Visible = True
Else
Me!lblUpArrow.Visible = False
End If

-Tinclon
 
Back
Top