Jump to content

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

Recommended Posts

Posted

I am trying to to click data in a field and have the program automatically find all the records with the same data. Example: I have course numbers in a field called courses for every record. 123, 123, 127, 128, 129, 123, 123, 127, etc. I want to click on 123 in one record and have FM return all the records with 123 in the course field. I figure I have to create a script and attach the script with a button on the field.

Any help will be appreciated.

Thanks

I am using FMP 6 on a PC

Posted

A standard Find with "!" (no quotes) in the field will find duplicates.

Posted

I know I can find by typing in an ! to find duplicates. I what to click on the field on s specific number and have all the numbers that are the same come up on the screen. Like clicking on a button with the number and FMP finds them for me without asking for a manual CTL FIND

Posted

Try:

Set Field [ gValue, CourseNumber ]

Enter Find Mode

Set Field [ CourseNumber, gValue ]

Perform Find [ Replace Found Set ]

where gValue is a global field of the same type as the CourseNumber field.

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