March 5, 200718 yr 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
March 5, 200718 yr Most likely you are on a served solution. Read up on the behavior or globals in the white paper referenced in my signature file.
March 5, 200718 yr 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.
March 6, 200718 yr 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