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

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

Recommended Posts

  • Newbies
Posted

All I want to do is perform a script when the Enter or Return key is hit (a commit of record). I've defined the script I want to perform and have made a button that invokes it, but I also want to accommodate the user who simply uses the Enter/Return instead of the button.

How do I do this? Thank you!

  • Newbies
Posted

This is what I'm doing:

Upon entry of an Order record, I want to automatically generate multiple records in a related Schedule table, based on the Order data. This can generate anywhere from one to 50 records in the Schedule table. I want this to happen when an Order record is committed, whether it is new or changes have been made to an existing one. So, what I'm looking for is some sort of "On Commit" function that will perform this script. Right now I've made a button to do this, but for the users who are used to just hitting the Enter or Return key, I want the script to work without having to click a button.

Make any sense?

Posted

If these are regard-able as join table records, isn't a script necessary, you could instead be using either CF's producing a hashing-key such as:

http://www.onegasoft.com/tools/smartranges/index.shtml

...or via relations the thetajoins, or actually a bit of both like here:

http://www.nightwing.com.au/FileMaker/demos7/demo705.html

But since you on the regular version of filemaker 9 should you exploit repeating calc'fields as substitutes for creation of join table records.

Take a look at this Calendaring solution, where I make recurring events (not the most elaborate) via a repeating calc'field:

http://www.fmforums.com/forum/showpost.php?post/205225/

--sd

This topic is 6163 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.