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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top