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.

Copy script result to clipboard?

Featured Replies

I have a script that calculates an area-weighted average for a selected set of records. The script calculates the correct result, but I'd like for the script to copy the result to the user's clipboard so they can paste it into another program. What I tried, and what isn't working so far, is that I created a global field, SCRIPTRESULT, and set the global field to the result. Then I used the "Copy" script step, with the "select entire contents" option checked. the SCRIPTRESULT global field is in the same table as the records the script is processing.

 

Any tips for accomplishing this?

 

Thanks!

 

post-86592-0-23821100-1363289965_thumb.p

Solved by No_access

Go to solution

Is the save record changes automatically checked?

 

can you try adding a commit record after set field   ?

 

On my windows machine, I have no problem, using copy.  but this is just a thought.

  • Author

Thanks for your reply. I added the commit record script step, but it's still not working. I just noticed in the debugger that the Copy script step is generating error 102 - "Field is missing". Not sure why that's happening since, as you can see in the thumbnail, the correct field is specified, and I can tell with the data viewer that the field has been set to the value. 

 

I also tried changing the field from a global to a standard field, but am getting the same result.

  • Solution

is the field on the layout ?  it has to be for copy to work

global to standard field will not matter

  • 2 weeks later...
  • Author

That was what I was missing. Placed the field on the layout and it's working fine.

 

Thanks a bunch!

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.