Solved

current status

Posted on 2006-06-28
3
266 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
  • 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

770 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