philipcaplan Posted September 7, 2020 Posted September 7, 2020 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.
comment Posted September 7, 2020 Posted September 7, 2020 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.
philipcaplan Posted September 7, 2020 Author Posted September 7, 2020 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now