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

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

Recommended Posts

  • Newbies
Posted

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?

Posted

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:

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