Browse - Off end firing multiple times.

Posted by ojfoggin on 27-May-2009 09:40

Hi again guys.

I've got a slight problem with some of our scrolling browses.

We use a query that goes to the sevrer to get 60 records and then when it gets to the end of the browse it goes back to the server to get the next 60 and so on.

BUT, my mouse is set to scroll 3 lines at a time in Windows and when the last line is at the bottom of the visible window it fires the off end trigger 3 times and goes off to get 180 more records instead of 60 and then positions further down (i.e. the user will have scrolled past some records without realising it).

If I put a message in the off end trigger though it will only trigger once.

Is there anythign I can do to stop the trigger firing mulitple times?

Thansk

Oliver

All Replies

Posted by Tim Kuehn on 27-May-2009 10:00

check how long it's been since the update was requested, and if it's

Posted by ojfoggin on 27-May-2009 10:08

Thanks!

Is there any other way of doing this?

It works perfectly but it doesn't seem like a very elegant solution.

TVM!

Posted by Tim Kuehn on 27-May-2009 12:35

There are some solutions for which their only redeeming value is that they work.

This thread is closed