Moaa Posted August 11, 2009 Posted August 11, 2009 Hi, I have table x with fields; name, user, date, reason. I need to display a date (not the contents of the field date) but the date the user is currently using. I have a global variable date_looking_at (this is the date i need to display). How is the best way to display this at the top of the page? I did try copying it into a global field and using merge field accept this wont work as i need multiple records as multiple users will be viewing different dates.. Thanks for any help.. Moaa
Fitch Posted August 11, 2009 Posted August 11, 2009 A global field will show a different value for each user, whether it's used as a merge field or not. Are you sure you set the field's storage to global?
Moaa Posted August 11, 2009 Author Posted August 11, 2009 Oh, i knew a global variable is unique to each user i didn't realize a global field was also! Thanks! Moaa
IdealData Posted August 12, 2009 Posted August 12, 2009 Did you also know this A local variable can only be used in script steps in the currently executing script. The value in a local variable is cleared when the script exits. Local variables are prefixed with $. A global variable can be used in a calculation or script anywhere in a file, for example, other scripts or file path. The value of a global variable is not cleared until the file is closed. Prefix global variables with $$.
Recommended Posts
This topic is 5582 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