Saving & restoring vertical scroll position of a form.

J

JerryG

I have a form with 12 subforms that scroll vertically, used in a medical
scheduling application.

When an appointment is added I save the strSQL that pertains to the subform
that initiated the request to a public string.

The subform fires the timer event and checks the public string to see if it
is not = "". If true, it makes its rowsource = the public string, requeries,
and makes the public string = "".

Problem: how can I save the vertical scroll position, of the subform, so
that after the requery I can restore the vertical position to where it was
before the requery.
 
Top