Solved

current status

Posted on 2006-06-28
3
270 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:Tony T
[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:Tony T
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:Tony T
ID: 17235880
thank you, billmercer!
0

Featured Post

Independent Software Vendors: 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

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…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

724 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