March 12, 201015 yr I have a problem. I've made a "Preferences" layout where all the icons and logos are stored in container fields (global storage). I copy-pasted the icons to the containers. But every time I close the file and open it again all the container fields are empty. How can I preserve the data in those ?
March 12, 201015 yr In order for data in globals to "stick" you must have control of the file. If it is being hosted by another computer then you must use that one to fill the globals. If it's FM server then you must close the file and open it using FMP, fill the globals, close and re-open in FMS.
March 12, 201015 yr Author Yes, the file is hosted by FM server and I'm using and editing that directly. So you mean I have to download the file from server, fill in the containers and then upload it back to the server ?
March 12, 201015 yr Yes, however another way around this is to create a table specifically to hold your graphics, but not as globals - these days it's the preferred route as you can readily update your graphics without closing the file. Edited March 12, 201015 yr by Guest
March 12, 201015 yr Global fields are session specific and will have an initial value of what it was at the point that is started being served or last modified by a server side script. So you can either have a preferences table that stores your icons and then set the global fields on startup with an opening script, unserve the files and store the images in the global fields when unserved, or use a server side script to set the globals.
Create an account or sign in to comment