Hello! I'm creating a clock in system for employees. My data source is SharePoint and I have the Columns Title, Input (with choices of "Punch In"/ "Punch Out"), EmployeeID, Job (choices of job sites) , Date and Time, Location, Longitute, Latitidue.
On the first page of the app, I only have Input, job, and employeeID, which are Data cards and the rest of the fields are hidden. The rest of the fields I put in a code for automatically updating for example DateValue2 defualtdate=Now(). And also having Hourvalue Default=Text(Hour(Now()),"00")
When the user submits, they are taken to a second page displaying the information submitted. I am using a display form for the second page.
The problems I'm having include:
#1. When trying to retrieve the last Punch In and Punch out Submission. I have the formula Text= TimeValue(HourValue2.Selected.Value & ":" & MinuteValue2.Selected.Value). It was working yesterday but now I get an error message saying "The Value ":" cannot be converted to a date or time value.
#2. I also want to be able to show the total hours worked that day and for the week.
#3. When ever I use the back button on the second page to navigate back to the first page, the first page reads "No items to display". On the back button, I have the code Onselect=Back(). On the first page, the editform1 is default mode "New". The submit button code is
SubmitForm(Form1);
Navigate(Screen2);
I hope this was clear as possible. Thank you to whoever can help!
@WarrenBelz @developerAJ @LaurensM

Report
All responses (
Answers (