Trying to make clock in and out for workers.
I have read other peoples help topics but cannot come right Whatever I try Clock in and Clock out goes to two lines. Guess I don’t understand to well explanations so sorry .
Create a query in the Users table, target the Timesheet table, filter by user email is signed-in user, and “Clock In” is within today.
Add a single value column on top of the query, choose “Whole row” & first.
Add another single value column on top of the query, choose “Clock Out” & first.
If the query is empty, show the Clock in button, which should add a row with the signed-in user’s email and write the current date/time to the “Clock In” column.
If the query is not empty AND the single value > Clock Out value is empty, show the “Clock Out” button, which use a set column action, set the current date/time to the “Clock Out” column of the single value > whole row thing.
Once it’s done for the day, no buttons should be shown.
Thank You so much for Your reply.
Followed all steps but Sadly think I don’t understand something. [ Feeling stupid already.
( * If the query is empty, show the Clock in button, which should add a row with the signed-in user’s email and write the current date/time to the “Clock In” column. )
If the query is not empty AND the single value > Clock Out value is empty, show the “Clock Out” button, which use a set column action, set the current date/time to the “Clock Out” column of the single value > whole row thing.) Think this is where I’m getting lost