i want to disable the "enter" or "tab" keys in a form, so that if the user press enter or tab on the last object in a form - i wont open a new record for him.
Take a look at the cycle property for your for. value of zero is the default and will move the focus to the next records. Whereas a value of 1 will move to the next field in the current record. Also consider option 2.