Page Down Key

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

Guest

When I am entering data, and do not need to fill in every field, I hit the page down key to go to the next new record. However, the cursor remains in the last field that was entered. How do I default the cursor to go to the first field when the page down key is entered?
 
I am assuming that you are using a form for data entry
and not a datasheet. If this is the case, you can place
code in the OnCurrent event of the form that will put the
cursor in the desired field each time you move to a new
record. Something like:

me.YourCtrlNameHere.Setfocus

HTH

Byron
-----Original Message-----
When I am entering data, and do not need to fill in
every field, I hit the page down key to go to the next
new record. However, the cursor remains in the last
field that was entered. How do I default the cursor to
go to the first field when the page down key is entered?
 
Byron said:
I am assuming that you are using a form for data entry
and not a datasheet. If this is the case, you can place
code in the OnCurrent event of the form that will put the
cursor in the desired field each time you move to a new
record. Something like:

me.YourCtrlNameHere.Setfocus

What's the difference between that and:

Me!YourCtrlNameHere.Setfocus

ie using "!" instead of "." (I tend to use "!")
 
Back
Top