>Hi all
>
>I can use a little help.
>
>I am trying to control the cursor on a form using keyboard strokes.
>
>Example;
> A form has several rows of data input fields. Using the Up & Down Arrow keys
> I want to set the focus to the first field in each row.
>
>I believe I must use the KeyPress Event but I do not know what the code like.
>
>No examples in the help.
>
>Terry
You may try to code the form's KeyPress method for your purpose. You may need to have a property of the form to hold the current row number and have some distinctive way to identify the first control in each Nth row. Don't forget to add NODEFAULT into the KeyPress event for the Up/Down arrow keys.
If it's not broken, fix it until it is.
My Blog