Announcements
How can I put Time-Out on the same line as Time-In?
What code should I do?
Kindly see attached file. TIA
Hi @Eaglekad_7 ,
You should get the LAST entry that belong to current employee rather than the First one using LookUp:
Patch(Attendance, Last(Filter(Attendance, Employee = Out.Value)), {TimeOut: Now())}
Best regards,
I have an error code here. Kindly see attached file. Thank you for your quick response
Sorry, it's:
Patch(Attendance, Last(Filter(Attendance, Employee = Out.Value)), {TimeOut: Now()})
Thank you Sir @v-jefferni, you're so great!
How about Message Pop Up when the scan Time-in and out is successful?
Thank you!
Then you just need to use a Navigate function following the Patch. However, in case that the Patch may fail, using an "IfError" function to check the Patch result is more efficient & appropriate.:
IfError(Patch(Attendance, Last(Filter(Attendance, Employee = Out.Value)), {TimeOut: Now()}), Notify("Something went wrong, please try again", NotificationType.Error), Nevigate(PopupScreen))
Hi Sir @v-jefferni ,
After trying to add Popup Screen after scan there's an error in our Code.
I didn't see any errors in your screenshot...
Hi Sir @v-jefferni
Kindly see attached file. Thanks for your help!
Please copy the formula and paste it here in Text.
Hi @v-jefferni
Already solved the issue. Thank you for your help. God Bless!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 382 Super User 2026 Season 2
Mohsin Ali 329
WarrenBelz 187 Most Valuable Professional