hlabonte Posted March 5, 2007 Posted March 5, 2007 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
mr_vodka Posted March 5, 2007 Posted March 5, 2007 Most likely you are on a served solution. Read up on the behavior or globals in the white paper referenced in my signature file.
hlabonte Posted March 5, 2007 Author Posted March 5, 2007 Yes, it's served. I'll read this over, thanks.
bcooney Posted March 5, 2007 Posted March 5, 2007 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.
David McQueen Posted March 6, 2007 Posted March 6, 2007 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.
Recommended Posts
This topic is 6472 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now