Jump 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.

Simple Newbie Question

Featured Replies

  • Newbies

I am very new to FM, so please be patient with my ignorance.

I'm trying to make improvements to a database that I did not build myself. So I am still struggling to understand some of the ways this database works

I have records for "members" and each member has multiple location addresses associated with it. The multiple locations are entered into a portal linked to the members by a member ID number.

I need to build a script that returns members locations based on an option selected in a drop down menu field that is part of the portal. So for example, a location could be a Store Front, and Office, or a Warehouse. These are the three options in the drop down menu. What sort of function do I use to return all Store Fronts?

Welcome to the forum, AAshindelar.

You are describing a "filtered portal". Do your addresses have a field that contains their type; "Store Front, Office or Warehouse?" You would create a global field in the Member table, put it on the layout, above the portal and set it to a value list of address types. Then add to the portal relationship a second criteria in addition to the existing Member::MemberID=Address::MemberID. The second criteria for the relationship is Member::gFilterAddrType=Address::AddressType.

You do not need a script.

  • Author
  • Newbies

Great! Thanks. I'll give that a try.

Create an account or sign in to comment

Important Information

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

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.