Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Moving global $$Variable from one file to another

Featured Replies

Forgive my ignorance....

Is there a way to move a global variable defined in a script as $$Var1 from File1-Table1 to another File (say File2-Tablex).

e.g. In file1, script sets $$Var1 as recordID, then goes to a separate file2-Tablex to create a new record and save SSVar1 in a field in that record.

This works if table1 and tablex are in the same file. But the moment, the script goes to the new file, the SSVar1 is lost.

I am using a physical global field to move the information from one file to another. I was wondering if it could be done using defined variables.

Thanks for the help....

You could pass the value as script parameter to a script in the other file (perhaps even to the current script, I think?). Or you could create a "local" layout of the external table.

You can use the script step Exit Script[] to pass values that can be retrieved using the function Get(ScriptResult).

  • Author

Tried local layout.. worked fine. That seemed so obvious!! Thanks

I have just read this again, and I am confused: how does the script "go to the new file"?

I think it's just terminology. Over here (in the UK) we like to say "you must drive on the right side of the road" - of course we actually drive on the LEFT HAND SIDE.

Of course we should say "correct side" !

Edited by Guest

Yes, I'm sure it's a terminology - I am just curious what does it actually mean.

Of course we should say "correct side" !

No, I think you should say "wrong side".

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.