cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dave8
Post Prodigy
Post Prodigy

Unable to display record in edit form

Hello,

 

I am redirecting to edit form on custom button click which has a value of "GUID" of the relevant record which I am passing to Edit form.

 

However, on edit form, the formula is not working as it's throwing following error:

editformitem.png

 

Can you please share how can I resolve and display the selected item in edit form ?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @dave8 ,

 

You need to use GUID() function to convert the text to GUID value. Please try this:

LookUp('Table Name', 'Column Name'= GUID("123-123-123")

Hope this helps.

Sik

View solution in original post

3 REPLIES 3
mdevaney
Super User III
Super User III

@dave8 

The error says “values being compared in the formula are not of the same type.  This means the column you referenced is not text.

 

You are either using the wrong column name or you must change that column to text.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

v-siky-msft
Community Support
Community Support

Hi @dave8 ,

 

You need to use GUID() function to convert the text to GUID value. Please try this:

LookUp('Table Name', 'Column Name'= GUID("123-123-123")

Hope this helps.

Sik

View solution in original post

Awesome @v-siky-msft You helped me saving lot of my time, Thank you!

 

Regards,

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (67,645)