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.

Putting START-STOP buttons into portals

Featured Replies

I'm trying to develop a task manager program and I'm really stuck at this next part.

What I have is a punch list of activities that need to occur.

Each time something needs to be added to the list a new record is created.

The main parts of this record include a TASK description, MEMO field and START-STOP times.

You can go to each record to add or review a memo.

If you are ready to start the task, you can select the green START button.

The START button lives in a portal.

As each new record is generated, a relationship is created that displays this portal.

When you select the START button a script breaks this relationship and creates a similar one to display the STOP button.

The GOAL is to have each record display either a START or a STOP button but never both.

(If the task has been started and stopped, NO button is visible).

This all works great if all records that have been started have been stopped or if only one

record has been created.

The PROBLEM comes when more than one record is in START status.

(When several people are accessing the punch list.)

If more than one record is in START status the STOP option is displayed in ALL records

and now you have to remember whether you are starting or stopping. (Kind of like my old cat

standing in the open doorway.)

I need to eliminate the opportunity for a failure.

Is there a way to make this portal display on just one record at a time?

I.E. How can I make a START button display and a STOP button disappear (& vice versa)?

I hope I've explained myself.

I've attached a sample of this file to see if anybody can help.

Thanks,

Jarvis

Start-StopPrototype.fp7.zip

Hi Jarvis,

I'm not totally clear on what you're asking but try this ...

In your graph, reverse your constant and conditional relationships, eg:

Main2::StartConstant = Main::StartConditional

Repeat (reverse) your stop fields. Then run your process. If your problem was having both Stop and Start buttons show simultaneously, this will do the trick. If there is more to it than that, let us know and I'll take a deeper look later today.

Let me know how it goes. smile.gif

LaRetta

  • Author

LaRetta,

How did you get to be so smart???

It works perfect !

I've been staring at this problem for about ten hours over the last two weeks.

I'll bet if I stared at it for another 100 hours (one work week) I'd never come to this solution.

I can't thank you enough!

Jarvis

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.