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.

image not getting saved

Featured Replies

Hi

I am not sure if this problem should go here or not. This is my case. I have a container field (g_graphic) that is defined as a repetition field from 1 thru 50 and is also a global field. This field holds all the images that are being used in the system. I added one image in g_graphic[40] ie, in 40th repetition. In browse mode, I clicked on the field, then clicked insert->Picture and then selected the graphic file.

Everything works fine after that till I close FMP file. the image does not get stored in that field. When I reopen the file, the image is gone. Please help as I really need to get this image in there. I also tried creating a regular contained field with no repetitions and it still does the same thing.

Thanx

"I have a container field (g_graphic) that is defined as a repetition field from 1 thru 50 and is also a global field... till I close FMP file. The image does not get stored in that field."

The "problem" is that the field is set to global storage, though it's not really a problem because it's expected, documented behaviour.

You need a preferences table to store the graphics. Search the Forums for more how-to info, this topic comes up regularly.

...I added one image in g_graphic[40] ie, in 40th repetition..

Are the other 39 images still there ?

Hi edmonton.

As Vaughan says, this is expected behaviour... with hosted files.

The way a global behaves when its not hosted i.e. you just open the file with FileMaker:

It will store whatever value you put in there and retain it.

The way a global behaves when its hosted i.e. you open via open remote...

It initiates with the value it had last when it was last modified in a non hosted form. Any thing you do to change this global will simply be reset the next time you open it.

Essentially, if you want the change to stick, take the file off the server, add your new image, then chuck it back on the server.

As Vaughan also says though, its probably better to just store the images in a related table.

  • Author

Yes, the 39 other images which are really like icons are still there.

Thanx

  • Author

Thankyou all for your replies. Yes, the files I am working on are hosted files so that must be the problem. I will unhost the files and rehost them again since we want to keep that repeating field for storing images and I do not want to create new field.

Thanx again for your help...

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.