ok lets assume if we have two textboxes , txt1 and txt2 , i want to get control on txt2 if i press enter and also got control txt1 if i press enter in txt2 , use this code
'---use this code at the keypress event of the control .
if e.keychar = chr(keys.enter) then
'write the name of your control where you want to get focus like this
txt2.focus()
end if
regards