Modifier Key and Datasheet

A modifier attached to a procedure triggered by the keyboard or mouse in the Datasheet is not detected. For instance, .NewRecord or .DeleteRecord can be triggered by clicking on an icon in a form or in the Datasheet, but the modifiers are only evaluated in the form.

A simple Message info(“Modifiers”) as a .DeleteRecord procedure demonstrates it, including the keyboard combination of Option-Delete in the Datasheet.

Yes, I have verified this, thank you.

In researching this further, the info(“modifiers”) does not work with any keyboard event, whether in the data sheet or form. Though it would be very unusual to test for this in a form. In any case, the code has been fixed (actually new code written, there was no code to handle keyboard event modifiers).