cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Issue Loading Information Using LookUp

I have a form where I am loading data from a SharePoint list (load form saved progress). I am creating variables using the stored data in the SharePoint list and assigning the variables as default values in the fields. This is working well for comboboxes:

Set(TemplateSoldTo, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SoldTo)]); 

 

However, when I am trying to load into dateboxes or textboxes I get issues that look like the following:

ACTBabCV9quYh1

The code looks the same:

Set(TemplateShipPO, [LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO)]);
Set(TemplateSurgeryDate1, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1)]);

I am using 'Date/Time' set to only store date datatype for the Date field and 'Multiple Lines of Text' for the text field in the SharePoint list.

I am not sure how to get this to work; any help would be appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Frequent Visitor

Re: Issue Loading Information Using LookUp

@yashag2255 Thank you for your response, that fixed it!

Helpful resources

Announcements
secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,027)