HI all,
I am hoping for some help as I can't figure out where I have gone wrong with this one:
Creating a Name Change option on a powerapp and if the change is back dated I need an error message to show, but if today or future dated change then it needs to patch a tracker for changes to be submitted to a central team, then make the name change overlay not visible.
If( IC_NC_Dat.SelectedDate>=Today(),
Patch ('Requested Changes Trackers',
Defaults('Requested Changes Trackers'),
{'Effective Date':IC_Eff_Dat_Pick.SelectedDate},
{'Employee Number': varIndEmp},
{Name: IC_NN_Home.Text},
{'Change Type': Text("Name Change")
) &&
Reset(IC_Eff_Dat_Pick) && Reset(IC_NN_Home) && Set(varShowNamChan,false),
Set (varErrMess, true));
I am new to powerapps still so any help is appreciated.
Many thanks
Cat