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.

Field : Auto-enter calculation with global variable

Featured Replies

Is it possible to fill a field with a global variables using auto-enter calculation?

I know it's possible with a local variable in a script, but I have not been able with a global variable.

Thanks

Yes, it's possible and easy. What have you tried?

  • Author

I just added GetValue($$companyInfo; 1) in the auto-calculation, but I always got an empty value. I've check if there was any value in $$companyInfo and there were some.

The data is separated from the interface.

I worked around the problem, but I still want to know how to do this.

Thanks

A sample file would be great...

  • Author

Hmmm... it seems to work with a single file. I guess that the fact that I use a separation model might change the behavior.

odbc.zip

  • Author

Here's a version with a presentation layer. As you can see it doesn't work.

odbc_with_presentation.zip

One of the caveats of using the separation model is that global variables are local to the file. They are not shared between files.

You could use a global field instead.

  • Author

Yes, it is what I used as a workaround. Thanks for helping!

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.