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.

if then else, i think Question- Newbee

Featured Replies

I'm getting reacquainted with FMP v10. I am attempting to create a field that results a certain answer based on a previous choice made by a user.

I have a locations (X, Y, Z) for Company A, locations (U, V, W)for Company B, and locations (R, S, T) for Company C.

If the Location field is the first field the user would choose from a predefined dropdown list (R, S, T, U, V, W, X, Y, Z) I would like the corresponding company Name (A, B or C) to then populate the box next to it. How would I accomplish that? By using a script?

Usually, you would use three tables (files, if you're using version 6) for this: Companies, Locations and the table where you want this to happen. Each location record would be related to its parent company, and once the user has selected a location, the corresponding company would be either looked up into another field, or - if you want a dynamic link - displayed directly from the company record.

  • Author

I'd like to start off by saying thank you for your help so far. I hate to be a bother, so at anytime, if my questions are too simple/out there, do not hesitate to tell me to hit the books again.

--I understand setting up the 3 different tables. Done that.

--I understand how to setup a relationship between the them. Done that.

--As far as relating the record to its parent record, how do I relate it to the parent company?

Is this really for version 6?

  • Author

i am using version 10.0 Advanced.

OK, then. I still don't know what the third table is, so I'll call it Projects. Assuming you have your relationships set up as:

Companies -< Locations -< Projects

just place the company name field on a layout of Projects. Since each project has only one location, and each location only one company...

  • Author

Thanks,

Even though i am not sure i followed your instructions exactly, i think i got it to work.

Thanks again!

jerrad

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.