Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I don't really know if this is a scritp matter or a calculation one.

I have a table with many customers' emails.

I use a script that picks them up from every record and place them into a field but sometimes two customers have the same email.

How could I "clean" those duplicates?

Thank you.

What i would do is create another TO of the customers table where emails are @

Create a multi-predicate join using

CUSTOMER_ID = CUSTOMER_ID

&

Customer_email = Customer_email

the new TO ( table occurrence can be placed on a new layout and you can compare the 2 portals to see the dups.

hope that helps.

-i

  • Author

Thank you for your answer imoree but is not exactly what I'm looking for.

I have done this script to pick all customers' emails and send an email to all of them at once (in gmail format ", ").

I don't need to compare them, and there's no problem if a few customers share the same email on the DB.

What I try to avoid is not to send the same email a few times to the same email account.

Through my scritp I populate a field with all the email accounts found in my customers table, all separated by comma and a space.

The question is: is there a way to filter the duplicates, or while my variable is picking them up, not to pick a duplicate?

Thanks to all.

You could make a value list of the email field, and then use Substitute(ValueListItems(Get(FileName);"emailVL");"¶"; ", ") .

You can use the last advice or use a Unique custom function. EASY

  • Author

Thanks to all for your replies.

Doughemi, your advice works just fine. Thank you.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.