shot off arrow keys

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

Guest

I have a form that requires data entry. I was wondering how to shot off the arrow keys so that users can not move to previous screens.

Thanks in advance and the more detailed the better---I'm new at this

Thanks again
 
Hi Mike,

Go to the Form's Properties list.
On the Format or All tabs look for an option that says "Navigation Buttons." Change it
from "Yes" to "No" and you should be all set.

Jeff Conrad
Bend, Oregon

mike said:
I have a form that requires data entry. I was wondering how to shot off the arrow keys
so that users can not move to previous screens.
 
Jeff - thanks for your help - but the proplem still exists. The up down arrows bring you to prev. screens after tabing through the current. Maybe the problem exists with my code. Below is the code I'm using

Private Sub Form_Load(
End Su

Private Sub Image229_Click(

If IsNull(Me.FirstName) = True The
MsgBox "Please enter your First Name!
Me.FirstName.SetFocu
Exit Su
End I

If IsNull(Me.LastName) = True The
MsgBox "Please enter your Last Name!
Me.LastName.SetFocu
Exit Su
End I

If IsNull(Me.Email) = True The
MsgBox "Please enter your Email Address!
Me.Email.SetFocu
Exit Su
End I

If Me.Email = (Me.ConfirmEmailAddress) The
' the fields are the same
Els
' the fields are different, or Null
MsgBox "Please re-enter or confirm your Email Address!
Me.Email.SetFocu
Exit Su
End I

If IsNull(Me.StreetAddress) = True The
MsgBox "Please enter your Street Address!
Me.StreetAddress.SetFocu
Exit Su
End I

If IsNull(Me.City) = True The
MsgBox "Please enter your City!
Me.City.SetFocu
Exit Su
End I

If IsNull(Me.Combo254) = True The
MsgBox "Please select your State!
Me.Combo254.SetFocu
Exit Su
End I

If IsNull(Me.Zip) = True The
MsgBox "Please enter your Zip!
Me.Zip.SetFocu
Exit Su
End I

If IsNull(Me.Gender) = True The
MsgBox "Please enter your Gender!
Me.Combo230.SetFocu
Exit Su
End I

RunCommand acCmdSaveRecor
DoCmd.GoToRecord , , acNewRe
Me.FirstName.SetFocu

End Su

Hey another quick question - on the form reload it is currently bringing the user to the first field - but it is cutting off my graphics above the first field. How do I get the page to reload properly and for the user to be placed in the first field

Thanks again for your help


----- Jeff Conrad wrote: ----

Hi Mike

Go to the Form's Properties list
On the Format or All tabs look for an option that says "Navigation Buttons." Change i
from "Yes" to "No" and you should be all set

Jeff Conra
Bend, Orego

mike said:
I have a form that requires data entry. I was wondering how to shot off the arrow key
so that users can not move to previous screens
 
Hi Mike,

Well I'm a little baffled here I have to say.
I think there may be some confusion on terminology.

I assumed by arrow keys you meant the navigation buttons
at the bottom left corner of the screen. Apprarently this
is not what you were talking about.

You say "up down arrows bring you to previous screens..."

What up/down arrows are you talking about?
On a combo box?
On a list box?
On an image control?
Is this a continuous form where you can see many records
and therefore possibly an arrow on the right side of the
screen?
Is your form in single form view but goes off the screen
so you have to use the arrow keys to see the rest?
Or are you talking about the arrow keys on the keyboard
itself?

What do you mean by previous "screen"?
Do you mean previous record?

I don't think you're code has anything to do with it, but
I can't be sure until I really understand what *exactly*
you're talking about. Can you describe what the form does
in finer detail?

Jeff Conrad
Bend, Oregon
-----Original Message-----
Jeff - thanks for your help - but the proplem still
exists. The up down arrows bring you to prev. screens
after tabing through the current. Maybe the problem
exists with my code. Below is the code I'm using:

[code snipped]
 
Back
Top