PDF focus

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

Guest

I have a form with a PDF viewer (called PDF_Browser) and a text box
(Sheet_Title). Anytime I go to the next record the PDF viewer automatically
loads that records PDF and then proceeds to take the focus. Is there any way
to get the focus back on my text box or is Acrobat king?
thx, Zadok
 
Zadok @ Port of Seattle said:
I have a form with a PDF viewer (called PDF_Browser) and a text box
(Sheet_Title). Anytime I go to the next record the PDF viewer automatically
loads that records PDF and then proceeds to take the focus. Is there any way
to get the focus back on my text box or is Acrobat king?
thx, Zadok

If the Sheet_Title control is the first in the Tab Order, it should get the
focus. You might try opening the form in Design View and going to View ...
Tab Order, on the menu. If that text box is already the first item in the
list, you may have to forceably set the focus back with a line of code in
the form's Current event:

Sub Form_Current()
Me.Sheet_Title.SetFocus
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Back
Top