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.

Fields in related tables

Featured Replies

Howdy,

I want to show a custom dialog with a message that resides in a table in another DB file. So, I have set up a related ID field in the current table matching the ID in the other file.

By setting it to a particular value, I can access particular text.

However, problems arise when I move to another layout - I need another related "ID" field in my new current table. AND SO ON, AD INFINITUM.

Is there no easy way of getting at fields in tables in other files, without resorting to specifying related fields in the CURRENT TABLE ?

ie. Perhaps a global field in a not so current table ?

(tried this but didn't appear to work)

This post is re-worded from an earlier post.

Thanks.

Roger Spisketts.

You could make your messages into a global repeating field, then access them with:

gMessages::Text[ relatedID ]

from your Show Custom Dialog no matter what layout you were on.

  • Author

Thanks. I will try this.

  • Author

The Shadow - I just tried it. I set the text field to Global repeating (and put an arbitrary 1000 in as repeating number) and when I changed the text in one record, they all changed - am I missing the point ?

I was thinking you would have a string of text in each repetition, so you wouldn't have a table of strings, just a single global field.

Since its global, you can then access it from anywhere with no relationship.

See the attachment for a simple example.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.