@sergeasmar97 ,
Going back to your previous post - one modification
UpdateContext(
{
varLead:
LookUp(
Leads,
LeadPhone=txtContactPhone.Text
)
}
);
If(
!IsBlank(varLead.LeadPhone),
Notify("Warning, phone number found. Submit again?",Information);
UpdateContext({varResubmit:true}),
Patch(
Leads,
Defaults(Leads),
{LeadPhone:txtContactPhone.Text}
);
UpdateContext({varResubmit:false})
)
All the details could then be shown on labels - varLead.Name, varLead.Notes, varLead.Email, varLead.LeadPhone
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps