actually wat i want is when the user press the enter key in an textbox it must send the tab key(or set the focus to next control)

i cannot give if keyascii=13 then text2.focus
bcoz i wana write the code for the form_keypress , and i have set the keypreview to true