January 9, 200817 yr Newbies 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!
January 10, 200817 yr It really depends on the scripting and what it achieves, context and purpose please?? --sd
January 10, 200817 yr Author Newbies 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?
January 10, 200817 yr 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
Create an account or sign in to comment