How to scroll line up or down in subform?

When I use NEXT OR NEXT(-1) in a function-call to scroll to the next line in a sub-form, all lines scroll 1 line up or down and the selected line stays at the same position in my subform. This is a nice feature, but not exactly what I expected. What I actually expected was that the selection of the line scrolled 1 line up or down. Got any suggestions?

quote:


Originally posted by mheijkant: When I use NEXT OR NEXT(-1) in a function-call to scroll to the next line in a sub-form, all lines scroll 1 line up or down and the selected line stays at the same position in my subform. This is a nice feature, but not exactly what I expected. What I actually expected was that the selection of the line scrolled 1 line up or down. Got any suggestions?


Hi! Try with SETRECORD. regards Bostjan

Unfortunately, I have this command only at my disposal from within the main Form. Because of the used functionality, I have to make the function-call from within the sub-form.