I am currently using SP List to store the information,
and using text box, dropdown menu, and combo box from power apps to receive information about
a guest's name, purpose of visit, company, and etc.
Above are the column and Type of the variables that I am using.
This is the input that I am receiving
Guest Of is the only combo box that works for (person type).
The function I am using for the button is shown below
// Create a new record
Patch(
GuestInNOut,
Defaults(GuestInNOut),
{
Title: inpLN.Text,
'First Name':inpFN.Text,
Location: ddLocation.Selected,
'Guest Of':cbGO.Selected,
Company: ddCompany.Selected,
Purpose: ddPurpose.Selected,
EntryTime: Now()
};
);
If (
// check if there were any errors when the record is submitted
!IsEmpty(Errors(GuestInNOut)),
// if true, show error message
Notify(
"Failed to sign in the guest",
NotificationType.Error
),
// else, go to success screen
Set(VarStartTimer, true);
Navigate('Sign In Success Screen');
)
It sometimes work totally fine, but sometimes it underlines the patch function and give me the "Network Error" As shown in the picture above.
I was wondering how to stabilize and make sure this error is fixed.
Please help me out!
Thank you all for help


Report
All responses (
Answers (