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

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

Recommended Posts

  • Newbies
Posted

I'm writing a script to find a set of records of people who all have email addresses. The checkbox for 'Has Email Address' is one value in a list of three, which are all contained within one field.

One way round this would be to split the field into three, and in my script just use a 'Set Field' on the field that contains the 'Has Email Address' checkbox.

Is there a way of leaving the 'Has Email Address' data in the field it is in, and writing the script to find only those that have this value checked?

Many thanks for any help.

Donal x

Posted

So, there's a field that has "Has Email Address" if the person has an email address? crazy.gif Is the address contained in the field?

What field are you searching? Do you have a sample or two of what might be in the field? For Example:

A field named Stats might contain "HasTelephone:HasEmail:HasMailingAddress" (?)

OR Stats might contain "(702)656-8979:[email protected]:111HappyStreet" (?)

Thanks....

Paul

Posted

Donalman:

Welcome to the Forums. I'm not sure I follow what the issue is. What are the three choices in the "Has Email Address" box?

-Stanley

  • Newbies
Posted

Ok, hopefully this will answer both questions...

To the normal user the database displays the following options, with checkboxes:

Active Mail Address

Active Email Address

Eurolink Internet Email Address

And what the database stores, in one field, is a checked or unchecked box beside the corresponding value from this list. In other words: "Has Active Mail Address:Has Active Email Address:Doesn't have Eurolink Internet Email Address".

The email address itself is stored in another field (hey I didn't design this thing).

Let me know if you need any more clarification.

Cheers

Donal

Posted

Donal,

Assuming that you are not doing any other finds in the script, go to the layout that has the checkboxes. Enter "Find" mode and click the checkbox next to "Active Email Address". Perform the find. When you go to edit your script, just make sure that the "Perform Find" script step has the "Restore Find Requests" checked.

I'll post a file shortly, just because my explanations frequently leave much to the imagination.

paul

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