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

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

Recommended Posts

Posted

I am sure this is going to seem like a very stupid question, but.....

I need to write a script that

          (1) goes to a particular field (2) removes any content in that field (3) replaces it with a single letter "y"

Can some kind person please tell me the script steps to achieve this, as I cannot seem to figure it out for myself.

Posted

Why not simply:

Set Field [ YourTable::YourField ; "y" ]

There is no need to go the field or remove its content beforehand. However, depending on when and why you're doing this you may want to follow this with Commit Records.

 

Posted

Thank you, comment. Once again you save the day for me!

Being an amateur, I tend to think "what steps do I want to do, which script-steps acheive that".  I never use "Set" outside of scripts, so I don't tend to think of it.

Thanks again

This topic is 1548 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.