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

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

Recommended Posts

Posted

I'm trying to script a phone directory. I start with taking the user to a layout in find mode with the possible/relevant fields to specify the people to be included. The script then performs the find, but before displaying the results, I want to constrain the found set further by specifying that this is the phone number marked as preferred for directory use. Contact numbers are stored in a separate table from names and addresses and each individual might have anywhere from 1 to a half dozen or more phone numbers, email addresses, etc. On the main data entry screen I use a portal to create these phone/contact records and include there a checkbox to specify if the number is to be used in a phone directory listing. But I get a "no records found" error when I run my script. What am I doing wrong?

My script looks like this:

Perform Find []

Go to Layout ["PhoneDirectoryDisplay" (PeopleMainTable)]

Constrain Found Set [Restore]

Sort Records [Restore; No dialog]

Enter Preview Mode [Pause]

In the *Constrain/restore* step I specify:

PhoneContactNmbrs::phoneDirectoryYes: [=yes]

Thanks for your help,

decker

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