BetterDayz Posted January 20, 2003 Posted January 20, 2003 Hi there, I am trying to make a script or a summary field that will find the number of records with a certain value in the value list. Basically, each of my records is either listed has an "A" or "B" value in a field. I want to find the number of records that has an "A" in the field. Any suggestions would be greatly appreciated. Thanks
andygaunt Posted January 20, 2003 Posted January 20, 2003 Hi, Have you tried the PatternCount function PatternCount (The field to check, "search
BetterDayz Posted January 20, 2003 Author Posted January 20, 2003 Sounds cool. But whenever I enter the script editor, it only has a set number of commands that you have to select from a list. Where would I type in a custom script like this?
BetterDayz Posted January 20, 2003 Author Posted January 20, 2003 Oops, heh heh, you meant to do this under the define fields option right? Yeah, it works great, but I'd like to do a summary for the entire database, searching all the records for 'A's. Is this possible?
Vaughan Posted January 20, 2003 Posted January 20, 2003 Am I missing something here? Enter Find Mode [] Set Field [ the field, "==A" Perform Find []
BetterDayz Posted January 20, 2003 Author Posted January 20, 2003 After messing around for a bit (thanks to andygaunt for giving me a jump start), I came up with a field in the header of my database: Field 1 (for calculation only, no display needed): PatternCount( A_B_Takes, "A") Field 2 (displayed in header of database): Summary field -> Total of A_B_Takes This gave me a field that always displays the current number of "A"s displayed.
Recommended Posts
This topic is 8035 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