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

Auto Update a Lookup?!?

Featured Replies

I've got 2 files I've created a relationship between. The main file has one look-up field, a phone number which is auto-entered when a name is entered in the main file. I would like to add a look-up for an e-mail address as well, but this has not been an existing field.

I've added a new e-mail field (text) to both files, created the look-up, but I can only get the e-mail field to populate in my main file if I enter the name. So, the problem, friends, is that existing records don't execute the auto-enter for the new field. How do I make this work globally/automatically without going through each record and updating the names one at a time? (I hope that made sense)

FileMaker Version: 6

Platform: Windows XP

Lookups are designed to update only when their key field is changed or a Relookup is performed. So run a Relookup in your name field, and you will update all found records.

Note: auto-enter calculations perform similarly, except they are only entered once, when a record is created. If you add an auto-enter after records have already been created, then you must perform a Replace on them with the auto-entry calculation.

  • Author

Thanks for the tip Queue,

I'm a relatively new user (intermediate I guess). How do I perform a Relookup? I assume its a Script calculation, but I can only write basic stuff at the moment and I don't yet fully understand FM syntax yet. Could you maybe give me a little more specific direction (calculation commands, etc.)

Thank you much!

Well, it sounds as if you're only wanting to relookup the existing records for the new field you added. To do that you'd first put your cursor in the name field, then select Relookup from the Records menu.

To script it, you'd use a Go to Layout [layout containing the name field], then Relookup, click the Perform without dialog checkbox, and Specify the name field.

  • Author

That did it!! Thank you so much. (you can't see me, but I'm graciously bowing)

Create an account or sign in to comment

Important Information

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

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.