Is it possible to disable to shortcut keys for users. I've found out that they sometime accidentally create new records with shortcut keys.
Custom menu or manage security in your database.
Use custom menus
Custom menus worked well for me but i was wondering whether there was a way to do it without using custom Menus.
If all you want to do is prevent the creation of new records "accidentally", you can turn off that capability in the users' security privileges, then provide them a scripted "New Record" button that runs with full access privileges.
If using a custom menu works well, why do you want an alternative?
I use Mike's suggestion all the time - limiting what they can do in the privilege sets. This way, I can control all record creation, deletion, printing, etc with scripting, but still allows them the simple shortcuts for copy & paste.
Or you can use a combination of permissions and custom menus.
Mike's suggestion makes sense, but there is one caveat... If you make use of the (enabled) "Allow creation of related record" in the Table structure, this will no longer work, if it is done at the security level. If this is the case, the Custom menu approach, may be the best choice.
In such a case, you would use a scripted approach to create the related records.
I tried Minimum Requirements in Privileged set. It worked best for me. Since i needed shortcuts disabled only for users and i still wanted admin useras to use the shortcuts keys at their will.
You can make different custom menus for all different kind of users. I think custom menus are a must when you want to give your users a consistent interface with a good user-experience. Developers of course can best work with the Standard FM menu.
Be careful with the Minimum menus. You can inadvertently break scripts that rely on menu commands and then wonder why they don't work. (I've inherited applications that did this.)
Retrieving data ...