Hi,
I've got a problem with my submit button that I cannot figure out.
I have a Radio button to choose the answer
Approve and Denine.
If user choose Denine and clicks Submit button> Navigate (sc_endPage)
But if the user chooses Approve and clicks Submit, I would like to check empID in SharePoint list "tbl_dataHistory" first.
If it's true Navigate(sc_OldHistory) if it isn't Navigate(sc_NewHistory).
This is the formula that I have a problem with because it's not working.
Do you guys have any suggestions?
Thank you.
If(
rd_Choice.Selected.Value = "Denine",
Navigate(sc_endPage),
If(
rd_Choice.Selected.Value = "Approve",LookUp(
tbl_dataHistory,
empID = lb_value_PerID.Text,
Navigate(sc_OldHistory)
),Navigate(sc_NewHistory)
)
)