October 3, 200619 yr 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
October 3, 200619 yr 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, 200619 yr by Guest
October 3, 200619 yr But it's also relevant to investigate if you really need this kind of functionality? What is the task at hand?? --sd
October 3, 200619 yr 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.
October 3, 200619 yr Author 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
October 4, 200619 yr 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
Create an account or sign in to comment