Eliz309 Posted August 31, 2004 Posted August 31, 2004 If I copy information from one field in file A and paste it in another field in field B I get a number. Copy "Purple" paste 10064897. Any ideas what I can do to fix this? Thanks
Ugo DI LUCA Posted August 31, 2004 Posted August 31, 2004 Hi, Is this copy/paste scripted ? Make sure the field A is on the layout, or you'd be copying the content of another field (probably a number in this case) instead. SetField[ ] should be preferred to Copy/Paste anyway.
Eliz309 Posted September 1, 2004 Author Posted September 1, 2004 No, It is not in a script. It happens when you do it manually. I have some users that like to copy out of the database and paste into documents. So the field is on the layout that they are copying from.
MoonShadow Posted September 1, 2004 Posted September 1, 2004 Hi, A number? It looks like a serial. I suspect a script is using your clipboard to capture an ID to paste and establish a relationship on the fly. If, after a User copies a field, ANY script is ran you need to check the script for the Copy/Paste[] script-step. Clues: Script for layout switch to form displaying a portal. Set Field is certainly better to use within a script; however, using clipboard is fine as long as protections are in place to restore the clipboard contents after the script is finished to prevent surprising Users in this way. You can use products such as ClipSave or even script your own clipboard restoration. Test: Copy text from a field, immediately paste back into same field. Do not click anything else which might activate a script. Does it paste correctly? I believe Ugo is referring to a script using your clipboard, not Users using a script to copy/paste. Things go on behind the scenes sometimes that Users aren't aware of.
Eliz309 Posted September 1, 2004 Author Posted September 1, 2004 That was the problem. I had a small script that used copy/paste, when I got rid of it the problem was gone. Thanks to both of you for your help. Elizabeth
Recommended Posts
This topic is 7457 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