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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (42,904)