Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

generate search parameters from a portal

Featured Replies

I have a database that contains a table called "Emails" with a field called "message". Each record has a serial number.

I have another table called "keywords" with the field "keyword".

I have another table called "stats" which has fields "keyword" and also "serial number"

There is a relationship between "Emails" and "stats" via the serial number field.

I have written a script that takes the first "keyword" from "keywords" goes to the first record in "Emails" and searches content for a patternCount. If Patterncount >=1, a new record is created in "Stats" that copies the serial number from "Emails" and inserts the "Keyword" into "keyword".

It then loops through all keywords in each email generating multiple records in "Stats"

I have set up a portal in "Emails" so i can see which of the keywords are present in that record.

I am now trying to write a script to show me "more like this"

ie, i want to go to the stats table, and generate a found set matching only the keywords from my portal.

Hope this makes sense.... any help appreciated!

If you use the List () function in a calc field, you can gather the related keywords in the portal. Then use gtrr to "show more like this."

  • Author

many thanks!

do you think you could give me a very basic example??

No time for a demo, but how about creating the List calc.

In Emails table, create a new calc field "KeywordsAll" = List ( emails_STATS::keyword), result text.

Now build a relationship from EMail to Stats using KeywordsAll matching Keywords.

Then you need a button on Email that gtrr thru this new relationship to a STATs list.

  • Author

perfect! thanks again...

How about:

Go to Related Record [ Keywords; Show related only ]

Go to Related Record [ Emails; Show related only; Match found set ]

Edited by Guest
Fixed a mistake in table name

I thought he wanted to end up looking at Stats records. If not, yours is certainly the way to jump back to all emails that also have the target keywords.

I am sorry, I had mistaken the table names.

True, I took "show me more like this" to mean "show me all e-mails with at least one common keyword with the current one". I am not sure what one would see gazing at a list of records in the join table, but if one wanted to, then:

Go to Related Record [ Keywords; Show related only ]

Go to Related Record [ Stats; Show related only; Match found set ]

should do it.

Very good, yes, he could just jump thru relationships. But you bring up a good point--why?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.