Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

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

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

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

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

  • Author

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

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

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

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

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

  • Author

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

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

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

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.