>>Hi Hilmar
>>
>>>ENTER will add a new line. The "correct" key to go from one field to the next is TAB / Shift-TAB.
>>
>>Yes, but the trend here is Enter to go to the next field.
>
>That trend started to go out of fashion in the nineties, on Macs and Ataris and other GUIs, where all of a sudden there was no data entry at all. It became a matter of religion - if you enter your data, you'll be damned with a Form.Close() and cmdDefault.Click() befalling you. Now if you tabbed your data, everything was fine (except that you wanted to use your left hand for something else, for instance to keep a finger on where you are reading from - well, tough luck, you need to press Tab after every field). Your data were blessed with salvation (form.save()).
>
>There's a heretical way out of your conundrum:
>
>
>...
>case nKeyCode=13
> nodefault
> dodefault(9,0)
>...
>
>Not quite sure the dodefault with different parameters will work the same as if user pressed Tab, but if that fails, you can always go the dirty old way of Keyboard "{tab}".
Your solution is strikingly similar to mine, message#
1282492.