lesterd Posted April 2, 2012 Posted April 2, 2012 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
Fitch Posted April 2, 2012 Posted April 2, 2012 A standard Find with "!" (no quotes) in the field will find duplicates.
lesterd Posted April 2, 2012 Author Posted April 2, 2012 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
comment Posted April 2, 2012 Posted April 2, 2012 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.
Recommended Posts
This topic is 5010 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 accountSign in
Already have an account? Sign in here.
Sign In Now