August 11, 200916 yr 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
August 11, 200916 yr 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?
August 11, 200916 yr Author Oh, i knew a global variable is unique to each user i didn't realize a global field was also! Thanks! Moaa
August 12, 200916 yr 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 $$.
Create an account or sign in to comment