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.

Loading image in global container

Featured Replies

Silly question, but I'm stuck.

I've got a container field, set as global, with 2 repetitions. Each will have a different image (jpeg). I copy & paste an image into the field. All works great.

Once I exit the database and re-open it, the field is again empty. What am I missing? How do I get my image to stick in the field? :P

Most likely you are on a served solution. Read up on the behavior or globals in the white paper referenced in my signature file.

  • Author

Yes, it's served. I'll read this over, thanks.

Reading up on globals will definitely serve you overall. The short answer is that globals clear when you quit FM, and each client user gets their own global values during their session.

Typically, for your goal, you have a Prefs table that stores the graphics in NON-global container fields. Then you use an Open Script (one that runs on startup, see File Options), that has Set Field script steps that set the corresponding global fields equal to your container fields.

Reading up on globals will definitely serve you overall. The short answer is that globals clear when you quit FM, and each client user gets their own global values during their session.

Typically, for your goal, you have a Prefs table that stores the graphics in NON-global container fields. Then you use an Open Script (one that runs on startup, see File Options), that has Set Field script steps that set the corresponding global fields equal to your container fields.

Alternatively pull the file form the server and run from a local client. Load the globals from the host machine and the values will stick. IF someone happens to delete these values once back on the network, having them quit the program and re-enter will re-establish the values.

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.