In a data sheet, the code in a field’s Code panel is executed BEFORE the next field becomes active, regardless of whether I trigger that code with a Tab or with the Enter key - this is what one would expect.
In a form however, if I have, in the procedure panel of each of a number of contiguous fields, the code:
message info("fieldname"), I get a different response, depending on whether I have used the Tab key or the Enter key to trigger the code. The Enter key gives the name of the current field but the Tab key responds with the name of next field along, suggesting that, in that case, the code is not executed until AFTER the next field becomes active.
Is this the way it’s supposed to work? I find it odd and a tad dangerous.