On 2008 Jun 6, at 16:10, Robert Sandkam wrote:
Can the Enter key be disabled for an entire database?
The situation is that I have created buttons to execute scripts
that take you to certain layouts.
So, when someone executes a Find using my button, it executes the
find and then takes them to the correct layout for certain matching
criteria.
However, if they hit the Enter key, it of course executes the find
request, but it does not take them to the correct layout.
I want to make it so that they have to click the button in order to
execute the find request.
Alternatively (and I guess ultimately better): is there a way to
map the enter key to specific scripts for specific layouts?
You could set up your script to look like this:
yada
yada
yada
Enter Find Mode
[here wait for criteria to be entered, followed by EITHER a button
click or hitting the "Enter" key]
[script continues]
[check results of "Find" operation]
[go to correct layout]
yada
yada
yada