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.

Filter by unstored calc

Featured Replies

I am struggling with something I think should be easy. I want to display in a portal related records who's parent record has a particular status. No records are displayed. See example.

Read this:

http://www.fmforums.com/forum/showtopic.php?tid/191906/post/275767/#275767

--sd

  • Author

My schema is very similar to Untagged, which you directed me to. I have a calculation similar to cOpenJobID except the task_status is 0 or 1 and the job_status is the sum -- 0 meaning everything is complete. I have the features represented by the template. What the template lacks which I need are two portals that display tasks, independent of client and job, (1) that shows all incomplete tasks (because the person doing the task is not driven by client or job -- this is easy) and (2) which shows all complete tasks for incomplete jobs (because before a job is complete you can edit completed tasks). It's the "incomplete jobs" filter I can't figure out.

Unfortunately have your upload gone wonky!

I am struggling with something I think should be easy. I want to display in a portal related records who's parent record has a particular status. No records are displayed. See example.

Attachment: filterbystatus.fp7.zip (9.23 KB) 21 View(s)

Couldn't you give it another stab and re-upload? Measures seems now to be taken by Steven...

Anyways, acting upon this:

I need are two portals that display tasks, independent of client and job,

Could it quite simply be done this way, as shown in attachment!

--sd

UntaggedMOD.zip

  • Author

Thank you for your time. The enclosed file (hopefully enclosed correctly this time) shows exactly what I'm trying to do and what doesn't work. Look at the 'Tasks by Status' layout.

UntaggedMOD2.zip

Why two globals?

--sd

Billede_1.jpg

Because they were already there, and I was concentrating on the relationships. But you're right.

  • Author

THANK YOU. Soren and Comment, your help is very much appreciated.

I learned about GetAsBoolean, very useful.

The important lesson, which is probably second nature to someone more into relational databases, is to remember that a null value for a key prunes records when used in a relationship.

I used two globals because I thought an equal relation was an order of magnitude more efficient than a not equal relation for a large dataset in that an index can be traversed for the former and not the latter. (Right?). The task table grows by 6000 records per month.

You won't believe I spent hours and hours trying to figure this out, although I did something similar in another part of the application without actually understanding how it worked. Thanks again for your selfless, willing and generous help.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.