Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using DLookup on a form, text box awaits enter key....why?

Status
Not open for further replies.

colezpapa

Programmer
Feb 26, 2007
86
US
I want to display 5 text boxes on a form that get their value from a DLookup. It displays correct info...HOWEVER it sits at the first text box waiting for me to press enter.
I have to press enter to get thru the fields. This is kind of strange....What am I doing wrong.
 
You can place the cursor on any valid control field by using
me.<<control name>>.SetFocus

You can place this statement in AfterUpdate event
 
. . . or you set their [blue]Tab Stop[/blue] property to No . . .

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top