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.

global calculation field and relationship

Featured Replies

Hi everybody,

I'm not sure I'm in the right topic, but anyway it looks for me like a relationship problem.

Here he is. I've a calculation global field (I'm using FM7) in one DB. I would like the value of this field be used by another DB in a script. But, in the second DB the value is always empty !!!

I don't understand ! It does not seem to be the relationship itself, 'cause when I change the global calculation field to a "normal" text field everything works fine, but I need the global calculation field.

so....Help !!!confused.gifconfused.gif

Thanx a lot

Your profile says "FMP: 6" yet you say you're using FM7. Anyway, what is the relationship between the two files?

Globals don't require a relationship to be accessed in FM7. You can directly reference the table containing them, assuming there is a TO in the relationships graph for it.

What is the calculation for the global field? Does it rely on unstored data in the related table? If so, perhaps this field can be set via script instead of calculated.

  • Author

Sorry transpower I did'nt setup my profil lately, but it's in fact FM7 that I'm using.

You're right Queue, I also tried directly without a relationship, but nada !

In fact, the calculation rely on unstored data.

I did some tests and it seems that you are right, if I use some stored data everything works fine.

So, thank you for putting me in the right direction,

You could set a normal field equal to the global field by calculation, then reference that. But like, Queue, I'd like to know what your calculating...

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.