Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6793 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I am moving along in developing the Zip Code database described in #198987 in response to my initial request for help in #198974. (Thanks to all for ideas!) I would like to speed up Zip Code entry by using the Enter key to perform a script (creating a new record for the same Event ID, for example, so that the next Zip Code can be entered).

I cannot find in any of my FMP books how to use the Enter key to perform a script. Can anyone educate me on this? If I can't use the Enter Key, then can I assign some other key to this, such as Tab or a letter key, F1, F2, etc.?

Many thanks --

(Apologies for multiple submissions -- I thought I was experiencing a freeze of some sort and hit Submit too many times.)

Edited by Guest
Posted

I would like to speed up Zip Code entry by using the Enter key to perform a script (creating a new record for the same Event ID, for example, so that the next Zip Code can be entered).

There's a sample plugin that comes with FileMaker 8 Advanced that allows you to trigger a script when a user exits a field. There are also third-party plugins that do that.

In your case, the easiest thing to do is to _start_ a script before data entry that loops over the following: New Record, Go To Field "ZipCode", Pause

Then, you can enter a ZipCode, tab to next field if needed, etc. When you hit Enter, it should resume the script, creating a new record and going to the ZipCode field.

PS. This is the behavior on Mac OS X with FileMaker 8. Windows may treat the Enter key differently. YMMV.

This topic is 6793 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.