Filter data entry on DataGrid Form
Posted: Sun Aug 16, 2020 11:37 am
I am having some problem on filtering the user input keys for a Datagrid Form.
This, on the script of the editable field of the row template, does not intercept the keydown.
One way to do it would be to put the script on the DG group.
But how do I refer to the field, in order to calculate how many chars have been inserted?
Is there a way?
Thanks
This, on the script of the editable field of the row template, does not intercept the keydown.
Code: Select all
on keyDown inKey
if inkey is not in "0123456789abcdefghijklmnopqrstuvwxyz" OR the number of chars of me > 16 then
beep
else
pass keyDown
end if
end keyDown
But how do I refer to the field, in order to calculate how many chars have been inserted?
Is there a way?
Thanks