ausbob Posted October 3, 2006 Posted October 3, 2006 This has probably been asked I am new to forum and have been looking for an answer for two days Is there a way of starting a script when you exit from a field (rather the pushing a button) Thanks
aldipalo Posted October 3, 2006 Posted October 3, 2006 (edited) You need a plug-in like Eventscript or scriptfire. Do a search for either on this forum and you should be able to find out more about them. Edited October 3, 2006 by Guest
Søren Dyhr Posted October 3, 2006 Posted October 3, 2006 But it's also relevant to investigate if you really need this kind of functionality? What is the task at hand?? --sd
dwins Posted October 3, 2006 Posted October 3, 2006 Starting a script by exiting a field rather than pushing a button doesn't save you anything. One click is one click. You could have the script act immediately upon entering the data IF you enter the data by script. For example, in leu of a value list popup, you click the field-button to scroll through choices, or use scrollers, etc.
ausbob Posted October 3, 2006 Author Posted October 3, 2006 Thanks for your replies The best example I can think of as a use is: Entering names of people and you want to check for duplicates. after date of birth is entered, as you exit the field a script could run and automatically find if there are any people with the same name and date of birth
Søren Dyhr Posted October 4, 2006 Posted October 4, 2006 Entering names of people and you want to check for duplicates. If the combo Name/birthday proves to be unique enough, could it instead be done with relations and some layout trickery. Since you're with fm8.5 why not go the whole nine yards?? There are some buttons on the layout, but you could operate the functionality entirely by memorizing the shortcuts instead. I establish the relation via two global fields as primary keys, where I allow creation of related record. So if you in the globals type in a brand new combination will previous data clearly not exists - opposite if the combination makes a match, will your data pull in the previously entered, which you can tab into. --sd uniqueness.zip
Recommended Posts
This topic is 6627 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