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

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

Recommended Posts

Posted

One of the best things about Google search-results is that they often provide excerpts from the pages that match your search, so you can see the context in which your search term occurs.

My database of journal entries and reports (I work as a writer) has hundreds of records. Currently, if I perform a search of this database, the results of the find are presented in a list arranged by record title in alphabetical order. Unfortunately, the context in which those matches occur is not provided.

Can a FileMaker database be programed to provide 'find' results similar to the Google-style results described above?

If yes, where do I start? smile.gif

Thanks in advance,

Sydneytim

Posted

use a result layout, not showing the acual fields but xx characters left & right from the search term.

You will have to enter the search term in a global, then do a scripted search, resulting in a special layout.

Posted

I downloaded your attachment... I could use it also, my question is this: Is there a way to double click on the found set of text in the cContext portal and have it return you to that text in theText text box?

Posted

In theory at least, you could add buttons that would select the relevant occurence in the text.

In practice, however, I find that Set Selection script step doesn't perform as advertised ("Data selected out of visual range is scrolled into view").

Meanwhile I've made this primitive workaround - perhaps someone else might come up with a better solution.

BTW, cContext is a repeating field, not a portal, and AFAIK there's no double-click in FMP.

context.fp7.zip

This topic is 7255 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.