Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hello,

I have just imported 223 records into my database which didn't contain the field "Mailing List" which is a value list with the values "yes" and "no".

I need to set all of the records that have an email address in the email address field to have "Yes" checked on the mailing list field.

I have tried doing scripts with if statements (i.e. if email address is valid then mailing list "yes" otherwise "no".) I've tried using the set field function as well as any other functions that seems to work.

Is it possible to do this?! Or am I going to have to click "Yes" for all 223...?

Posted

Just use a find to create a found set with all the records having valid email addresses, and use replace field contents to set all those values to yes. You could also do this with a loop, but replace is generally faster.

Posted

You mean Find/Replace under Edit or the replace field contents in a script?

Because i've done it within a script and it doesn't work...

Nothing seems to happen at all. The mailing list field is still blank.

Posted

I got it to work for another field but I just cannot get it to work for the mailing list... and now whenever i check anything on my mailing list field it says it's only supposed to hold specific values, use this one anyway... whereas before it was working fine!

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