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.

Featured Replies

I'm looking at doing a Calc Field I think to return based on other info.

We have two tables.. Job and Part

The Job table we have a layout that has a portal for the Part Table. We are keying of "JOB ID MATCH FIELD"

We have a layout that on Job to show us the related Parts. Each part has a status... "In Progress" Or "Complete"

I'm wanting a way to return at the Job table the Overall Status of all the Parts.

So if all Parts are marked "In Progress" it returns "In Progress" If all the Parts are "Complete" it returns "Complete"

but if some are "Complete" and others are "In Progress" I would like it to return "Partially Done"

 

Any tips would be helpful..

I'm using Filemaker 14 at this time.

Thanks

 

Try =

Let (
shortList = FilterValues ( "In Progress¶Complete" ; List ( Part::Status ) )
;
Case (
shortList = "In Progress¶Complete¶" ; "Partially Done" ;
shortList = "In Progress¶" ; "In Progress" ;
shortList = "Complete¶" ; "Complete"
)
)

 

Edited by comment

  • Author

I'm getting an error about to many Parameters Error.. See screen shot. 

Screen Shot 2015-05-13 at 6.46.48 PM.png

That's not what I wrote.

  • Author

Your right.. I changed the Part::Status to read Parts::Part Status.

Other then that I did a copy and past.

This time I did a copy and past to and editor then copy and pasted it to filemaker.. No errors.

But it's not returning anything for the calc.

  • Author

Question? How does the formula tie to the Relationship?

Screen Shot 2015-05-13 at 7.24.53 PM.png

But it's not returning anything for the calc.

​Does this work for you?

Status.fp7

  • Author

Your file worked... So I went back to my file and found the reason.

I had an extra space at the end of the data.... 

 

Thanks so much...

 

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.