Clinton Posted August 28, 2005 Posted August 28, 2005 In my application, there is a screen that has a portal on it. The relation to the portal is based on a global field (gNo). I then let the user click on a button that calls a script which changes the value of gNo, and the data displayed in the portal changes accordingly. Now, I am working on making this screen using XSL (transforming XML to HTML). I have created a link which calls the script, and this seems to properly change gNo, but it does not seem to change it more than once. I know that if you want to update a global field, you have to use the .global syntax in order for the value to be tracked during the current session. Is the problem occuring because I call a script which then does the SetField on my global field? I guessed that my problem is either the global value is not persisting between requests, or my sessions are not working properly. I can only assume my sessions are working correctly: I am not being asked to login each time I click the link, so I assume FileMaker knows I am in the same session. Can anyone help?
Martin Brändle Posted August 29, 2005 Posted August 29, 2005 Check http://fmforums.com/forum/showtopic.php?tid/161554/ for use of global fields. You have to turn database sessions on according to the CWP Guide.
Recommended Posts
This topic is 7024 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