Filemaker Pro 11

I have a database that has multiple layouts that allow the user to navigate between one and the other. The problem I am currently facing is that I am either using 'go to related record' or run a script to do a perform find on a particular table to go to a related record in a table.  Now if a user uses his/her keyboard (windows: Ctrl + F) to perform a find, then all the records on a particular table are shown on the table, disabling the related record purpose of my database. Is there a way to disable the capability of using the Crtl + F keybord functionality on my database?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will LovingPresident, Dedication Technologies, Inc.Commented:
Yes, but it requires using FileMaker Advanced and the Custom Menus option. Essentially what you will do is create a customized version of the "View" menu. In your customized version you can either 1) simply remove the Find menu option (along with the keyboard shortcut), or 2) Change the Find menu option to run your script instead of performing FileMaker's normal Find. Using a script you can make the Find be layout dependent and respond differently depending on the layout.

To create a custom menu set, go to File -> Manage... -> Custom Menus. You need to do two things: 1) create a Custom Menu Set and 2) Create a Custom Menu for the View menu. By default FileMaker has already has a "Custom Menu Set 1" so you can just rename that to your solutions name. If you then click on the second tab for "Custom Menus" you'll a list of menus all with the word "Copy" after them. Click on "Views Copy", the  click on the "Find Mode" menu item. Click on "Override Default Behaviours" and then Change the "Action" to your script. Be sure to keep the key board shortcut.

Custom Menu sets can be applied to the entire file and also to individual layouts on a case by case basis, so you'll need to determine whether you want this behavior only on certain layouts or everywhere.
Filemaker Advanced is *not* required in order to prevent users from performing non-scripted finds.  In the user's privilege settings, set 'Available Menu Commands' to 'Editing Only' or 'Minimum' - this will disable the 'find' menu items for users with that privilege set (keyboard shortcuts for finds will also be disabled).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Will LovingPresident, Dedication Technologies, Inc.Commented:
Tocacar is correct that you can disable the Find entirely using Privileges. But if you want selecting Find, via the menu or keyboard shortcut, to do a scripted action such as GTRR (go to related records), then you will need to use Custom Menus.
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Will LovingPresident, Dedication Technologies, Inc.Commented:
PachecoPrimo, were you able to accomplish what you were after here?
I've requested that this question be closed as follows:

Accepted answer: 500 points for Tocacar's comment http:/Q_26930200.html#35312782

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Will LovingPresident, Dedication Technologies, Inc.Commented:
willmcn's comments provides a viable alternative to tocacar's answer and should receive an assist on this question.
Will LovingPresident, Dedication Technologies, Inc.Commented:
3) Accept one or more Expert posts as the answer

350 points - Tocacar (http:#35312782)
150 points - willmcn (http:#35309335)
Starting the automated closure procedure to implement the recommendations from the participating Expert(s).

- thermoduric -
EE Community Support Moderator

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.