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.

Find or Script a mailing name

Featured Replies

Hi. I have a Contact database which lists everyone in their own record. I need to extract a mailing list which will omit students ( I have created a student checkbox field which will allow me to do this) but to also somehow combine the two parents' names as the mailing contact even though they are in their own separate records.

I do have a portal which allows me to see who it is that have the same home address. I figured that the home address would be indicative of 2 parents.

So, how do I create a script that would allow me to (after I omit the students) grab the two parents names and put them in the proper format.

Eg. John and Jane Smith

OR, what if they have a different last name? What provision in the script do I need to add for that?

Help! This is beyond me at my skill level.

I appreciate your help.

Hi mikimonster,

A script may not be necessary. I have the feeling you might need this type of grouping again (?) and might want to use relationships instead (although simply hardcoding 'mom and dad' might be easier still). But here is one way. Since you are looking across the same record set, each parent needs to be isolated. You can use recursive custom function (but you don't have Developer) or you could use GetnthRecord (but that's in vs. 8) ... or, it can be done with a relationship sort. Match on LastName will determine whether they are married. If there are 3 parents, you're in trouble; but then again, so is the kid probably (smile).

You would actually search for the STUDENT records (can be indexed so is fast search). The Student records will then list the parents. I indicated Student with a 1 in the file. If parents are married, it displays them as: Bill and Mary Smith. If they aren't married, it displays them as David Jones and Mary Davis.

So perform a Find for Students and print/display cParents. I hope the file is helpful.

LaRetta

Mailing.zip

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.