Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

My job is that I count a keyword in the file maker database.

I created a database file(a template), and I put some news articles in my database file

So, do you know(or let me know) How can I count a keyword(e.g.: "Food" "storage") and a group word(e.g.: "Food storage") in the filemaker software?

I really need to know the function (counting a word or a phrase)

I used the "Find" function

the function only shows me that how many news articles include "Food" keyword.

But, it can not show that how many times "Food" keyword include (or is counted) in each news article and whole news articles(a month or a year amount)

I created a script for the counting

PatternCount("MainHeadline";"Food")

But, my software doesn't work.

It only shows "in processing" icon

So, I have to click "Force Quit"

Please, let me know

Posted

If you want to be able to choose a word from a dropdown and show the count in the current article, or across all articles, the sample file will help with that.

Essentially, you need a text field (preferably global) to enter the word or word combo you are looking for, a calculation field with a PatternCount and a summary field that totals that PatternCount calculation field. This is all outlined in the attachment.

The z_wordsInText field and the WordsInAllText value list are not necessary except to run the dropdown on the word field that may be unneccessary for your purposes.

You can also enter word combos. Try typing team sport in the word box.

Is this what you were looking for?

WordCounter.fp7.zip

This topic is 5547 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.