View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kojones Kojones is offline
external usenet poster
 
Posts: 2
Default Advances one Record when I tab...

I have a form that will be used to look up policies as well as make some
"yes/no" type notes to the policies. I have it set up like this:

Enter Policy Number: [ComboBox]
Policy Number: [TextBox]
Social Security Number: [TextBox]
(etc.)

I need the user to be able to start typing in the digits of the policy
number, then select the policy based on what comes up in the combo box. That
part works. When a policy is selected from the combo box, the user hits
{enter} and the "Policy Number" [textbox] is active. All the information of
the selected policy number is displayed correctly. Where I run into problems
is moving from the "Policy Number" to the "Social Security Number." At this
point I must hit {tab} to do so. It also advances the displayed record to
the next record in the table. My questions: how can I make it so I can hit
{enter} to move from the "PN" to the "SSN" and how can I make it so it does
not advance to the next record when I do so? These seem to be problems that
are somewhat related. Thanks so much!