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

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

Recommended Posts

Posted

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

Posted (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 by Guest
Posted

But it's also relevant to investigate if you really need this kind of functionality?

What is the task at hand??

--sd

Posted

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.

Posted

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

Posted

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

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 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.