SJOE Posted May 20, 2005 Posted May 20, 2005 In FM 7, is it possibile to implement even driven? for example, when I enter data in a field, if the datum is invalid, then FM7 will automatically call a script file. If you have implemented this function, please teach me about the strategy. Thanks a lot!
Søren Dyhr Posted May 20, 2005 Posted May 20, 2005 Are you absolutely sure the task performed with your script can't be done with a calcfield or a field level validation??? How would you establish a rollback from the damage a script may cause?? Such matters exist as plugins, but I'd consider it my duty to ask you reconsider the reasoning behind you demand. If say you wish to set a series of fields from a series of global ditos must the Evaluate( function be one of your considerations at least. I waving the flag for metaphoric interfaces as such, where you press a button or fiddle a knob etc. because when it comes to it, does it make more sence to manipulate indexes in a normalized table structure, than moving actual data between records in tables, this makes the lions share of scrips very short ...and not something you need to perform in smaller chuncks every time idle time occures. In my humble opinion does lenghty scriptings reflect pour tablestructure, say searches - they have often their counterpart as relations definitions. Let the user be the master of when and why the state of data needs the change via buttons, instead of making the user a passenger that tries to jump on a runaway train. --sd
Inky Phil Posted May 20, 2005 Posted May 20, 2005 SJOE You might want to check out a piece of free(I think)ware called eventscript (again I think)that these people have http://www.softs4humans.com/ HTH Phil
Søren Dyhr Posted May 21, 2005 Posted May 21, 2005 Meanwhile inspired by this an another thread have I allowed myself to interpolate a little - I wrote: Quote If say you wish to set a series of fields from a series of global ditos must the Evaluate( function be one of your considerations at least. Take a look at the template attached to this post, and you'll realize that you with exactly the same numbers of script steps can move either the 4 fields contents or 400 fields contents back and forth!! --sd BulkMove.zip
SJOE Posted May 24, 2005 Author Posted May 24, 2005 Inky Phil, Thank you so much! It's quite useful! Quote SJOE You might want to check out a piece of free(I think)ware called eventscript (again I think)that these people have http://www.softs4humans.com/ HTH Phil
Recommended Posts
This topic is 7215 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 accountSign in
Already have an account? Sign in here.
Sign In Now