?
Solved

current status

Posted on 2006-06-28
3
Medium Priority
?
271 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 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

764 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