April 22, 200520 yr Hello everyone. I'm trying to create a button that will move the contents of one field into another. Is there a way to do this? i have done anything with scripts yet--is that the way to get it done? thanks
April 22, 200520 yr Hi chasm24, and welcome to the Forum. Short answer - Yes. Maybe if you told us why you need to do this, we can help you better. Are you moving the data, or wanting the data to be the same in both fields. Would a relationship and a portal do what you want to do. The best approach would be to explain what you have now, and what you want to accomplish. That is, what is the script suppose to do. This could be something as simple as Copy/Paste, or more involved as Set Field, Insert Calculated Results, Replace, Clear, etc. HTH Lee
April 22, 200520 yr Sure. It's a fairly simply process. First, create a new script. Inside the script, use the SetField function - Setfield [field1; field2] Basically, this will copy the contents of field2 to field1. That is, supposing that both fields are the same 'type' (text, number, date, etc....). If not, you would need to use other calculation functions. If you wanted to actually "move" the contents, then use the clear function on field2 in your script. Then create/assign your button to run the above script.
Create an account or sign in to comment