Hello Everyone,
I am developing an Attendance application by using SP Lists, it's 60% done and working, but I having some issues:
1) if someone checks IN and then he closes the app the check in button should be disabled and he/she should check out first before checking In again for a new entry.
2) ( this is working but have some issues) when a user clicks on Check in button,
ButtonCode:
Set(
CurrentCheckedInRecord,
Patch(
Attendance,
Defaults(Attendance),
{
Title:"Check In&Out Test",
User: MyUser,
'User Email':User().Email,
'Check In':Now()
}
)
);
Navigate(CheckInSuccess,ScreenTransition.Cover)
they are navigated to on Check In Success Screen with this Message:
I dropped a Detail form with The Check in time, and the Items Property is CurrentCheckedInRecord. This is working fine for Checked in,
but when I click on Check Out
Button Code:
Refresh(Attendance);
If(
!IsBlank(CurrentCheckedInRecord),
Patch(
Attendance,
CurrentCheckedInRecord,
{'Check Out': Now()}
)
);
Navigate(
CheckOutSuccess,ScreenTransition.Cover)
they are navigated to on Check Out Success Screen with this Message:
I dropped a Detail form with The Check in time and Check Out Time, and the Items Property is CurrentCheckedInRecord.
The issue is the Check In Time Display's Correctly but the Check Out Time Doesnt show up, although it is updated in the SP List.
Any Help in these above 2 issues?
@WarrenBelz @mdevaney
@