EssenceQB_Admin
5 years agoQrew Member
Ways to update a record, add a record, and return home
I have been playing with an idea to allow users to "Go for lunch" in a time recording app.
Right now, when they start their day, they click a "Login" button and it takes them to an New Login form. Once they save and close, it records the time and they return to the dashboard.
One report on the dashboard shows their latest logins and contains a button for logging them out. When they log out, it refreshes and stays on the dashboard. They can then click new login as required.
Issue 1
I need to add some data checking so they cannot have more than one Login entry at a time. I am not sure how to accomplish this.
Issue 2
I want to add another URL Formula button that logs out the current record and then creates a new Login Entry that includes the log in time, log out time (for 1/2 hour later) and sets the related task link to the "Taking Lunch" task ID. I have tried a variety of methods, but I cannot get it to work.
If you have any ideas about what tools will work best for this, I would appreciate the help.
Note: I am using a check field set to True by URL in order to get the accurate date and time to record.
------------------------------
Ray Moss
Essence QB Admin
Essence Cabinets Inc.
Edmonton, AB, CAN
------------------------------
Right now, when they start their day, they click a "Login" button and it takes them to an New Login form. Once they save and close, it records the time and they return to the dashboard.
One report on the dashboard shows their latest logins and contains a button for logging them out. When they log out, it refreshes and stays on the dashboard. They can then click new login as required.
Issue 1
I need to add some data checking so they cannot have more than one Login entry at a time. I am not sure how to accomplish this.
Issue 2
I want to add another URL Formula button that logs out the current record and then creates a new Login Entry that includes the log in time, log out time (for 1/2 hour later) and sets the related task link to the "Taking Lunch" task ID. I have tried a variety of methods, but I cannot get it to work.
If you have any ideas about what tools will work best for this, I would appreciate the help.
Note: I am using a check field set to True by URL in order to get the accurate date and time to record.
------------------------------
Ray Moss
Essence QB Admin
Essence Cabinets Inc.
Edmonton, AB, CAN
------------------------------