Solved

current status

Posted on 2006-06-28
3
268 Views
Last Modified: 2010-04-27
i have one field contains cat and dog.

i want to have a status how many dog and cat contains in the field.

do you know how to make it?
0
Comment
Question by:Hiroyuki Tamura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
billmercer earned 125 total points
ID: 17006325
You can use the PatternCount() function to count how many times a certain value appears in a text string.

 PatternCount("dog cat bear dog cow cat horse cat " ; "cat" )
will return 3, because the letters cat appear three times in this string.

To count both cat and dog,  simply count each separately and add them together.

If you want to count how many times a word appears in a set of multiple records, create a calculated field to count the words in one record, then use the sum() function to add them up.

If you just want to know how many records have this value in them, just use count() instead of sum().

0
 

Author Comment

by:Hiroyuki Tamura
ID: 17010452
thank you, billmercer!

could you show me a example?

here is a file;

http://www.angelakello.com/hiro/test.fp7
0
 

Author Comment

by:Hiroyuki Tamura
ID: 17235880
thank you, billmercer!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FM External Data Sources Tables 3 576
FM - Phantom MIssing Field in DDR? 5 142
Notes Portal not advancing to correct row 3 114
Advertising design for my own Purpose 5 92
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question