Skip 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.

Need script to select the current record

Featured Replies

  • Newbies

In my contact database I'd like to be able to set up a button that activates a script that can print a merge letter for any single contact. What's happening now is that the script merges the contact data for all the records in the selection. I can't figure out how to write a script that first selects only the current record before doing the merge and print.

Any suggestions?

You need to isolate the one single record you are on. There are many ways. The best I've found, which protects even in multi-user mode, is one derived by -Queue-. So Here's JT's:

Freeze Window

Show All Records

Omit Record

Show Omitted Only

Loop

Exit Loop If [ Get ( FoundCount ) = 1 ]

Go To Record/Request/Page [ Last ]

Omit Record

End Loop

... then perform your merge

LaRetta :wink2:

  • Author
  • Newbies

Thank you! That worked perfectly. I really appreciate the help.

-Kevin

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.