Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Displaying a global variable


This topic is 5582 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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?

Posted

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 $$.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.