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

autoenter a part of a new record based on a field content


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

Recommended Posts

Posted

Hi everybody,

I need some help with this:

Making a new record in an articles table I would like after typing the article's code in a field, the next field named "article's description" to be autoentered with the content of the first existing record having the same code.

In fact I made this functioning using scripts. So far it only looks clumsy, but I am afraid, when the database grows it will also work like that.

Thanks in advance.

nena

Выше гор могут быть только горы

на которых еще не бывал.

я болгар, энтусиаст

Posted

Hi Nena

because the autoenter that you require is only triggered after the first entry it is what is known as an 'event based' action.

This is not catered for natively by FMP but there are plug-ins that will do what you want.

A free plugin called 'Eventscript' can be found at

http://www.softs4humans.com/FMPro_Plugins.html and that will do what you want

HTH

Phil

Posted

Thanks,Phil,

In my table now it is working with this script. I was just wondering if I can simplify the file and omit any extensions. Not a problem actually.

Thank you.

Nena

Выше гор могут быть только горы

на которых еще не бывал.

Posted

Why would you need a script for this (not to mention a plugin)? If you define a self-join relationship based on the category field, you can auto-enter the value from the first record in the selected category.

AE.fp7.zip

Posted

Of Course.

Forgive me nena, my brain got stuck on the words autoentered and didn't think further than autoentry on record creation.

My apologies once again for missing the obvious

Phil

Posted

Hi, veteran,

I feel a sort of confused. My problem has been so easy.

Your AE.zip was one to one what I needed.

It's amazing in just two hours to have the helpfull advice.

Thank you all.

nena

Выше гор могут быть только горы

на которых еще не бывал.

This topic is 6526 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.