Jump to content
Sign in to follow this  
nandito

Global Container Field

Recommended Posts

I think this should be a newbie question, but I don't know. I have a container field that I have given a global value. This field has 2 repetitions. I go into a form and I insert images in both containers and everything works nicely. When I exit and restat the file, the containers are empty. I did the same thing on another table a while ago and these fields retained the images. I want to retain the images.

Does anyone know what I am missing here?

Initially the file was hosted on my computer. Since I have put it in an FM server. Does this have anything to do with it?

Thanks,

Hernandito

Share this post


Link to post
Share on other sites

Yes. When a file is shared, the globals are only set for the user's session. When the session ends, the globals are cleared.

This makes it very handy to use globals, since you can rely on them being set on a per-session basis. Unfortunately, it also means that setting globally-modifiable data is a bit more tricky.

The only way (that I know of) to change a global when the file is hosted on a server is to close the file in the server admin interface, open the file directly in Filemaker, modify the global, close the file, and re-open it in the server admin interface.

If you need a field that is globally accessible (ie, from any context) but that can be modified by any user of a shared file, try isolating that field in a "globals" table, and then join that globals table to one of your other tables with an "X" join. You can build this join on any field - you don't have to use primary/foreign keys. What matters is that the "global" table is now "joined" to the other tables in your solution, so that its fields/records can be accessed from within any context.

HTH

-Kevin

Share this post


Link to post
Share on other sites

Thank you Kevin. I did close the file on the server, opened it directly, inserted the images into the containers and then opened the file again. It worked perfectly.

Thank you so very much. I really appreciate your help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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