Jarvis Posted June 18, 2005 Posted June 18, 2005 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
LaRetta Posted June 19, 2005 Posted June 19, 2005 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. LaRetta
Jarvis Posted June 19, 2005 Author Posted June 19, 2005 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
Recommended Posts
This topic is 7436 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now