Page Breaks

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with 2 page breaks that creates 3 "different" pages. I am
using a command button with a SendKey PGDN command to navigate the user from
the 1st page to the 2nd page. That part works great. My problem is when I
try to use PGDN twice to get the user from the 1st page of the form to the
3rd page. I cant use tab controls pages because I have one within the form.
Any reason why PGDN twice doesnt work? Any other ideas? Thanks in advance.
 
smboyd said:
I have a form with 2 page breaks that creates 3 "different" pages. I am
using a command button with a SendKey PGDN command to navigate the user from
the 1st page to the 2nd page. That part works great. My problem is when I
try to use PGDN twice to get the user from the 1st page of the form to the
3rd page. I cant use tab controls pages because I have one within the form.
Any reason why PGDN twice doesnt work? Any other ideas? Thanks in advance.


I can't answer you question beyond saying that SendKeys is
notoriouly unreliable (for several good reasons).

You should explore using DoCmd.GoToPage ... instead.
 
Back
Top