cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

FormMode geting error

getting an internal PowerApps error when trying to evaluate the expression. I separated the formmode into a label and it's not even working in that.

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous 

Change your formula to the following:

Text(formname.mode)

Mode is an ENUM, it needs to be converted to Text to display.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

4 REPLIES 4
RishabBehl31
Resolver I
Resolver I

Hey @Anonymous ,

 

Can you please share the screenshots & formula you're using so that I can analyse it further.

 

Warmly.

Rishab

Anonymous
Not applicable

literally just

formname.mode

 

miguelrodrigue_0-1603374592260.png

 

Use 

Text(Form.Mode)

 

0 equals edit mode, 1 equals detail mode. If this is the answer you need, please mark this message! Otherwise, let me know what else I could help with. 

@Anonymous 

Change your formula to the following:

Text(formname.mode)

Mode is an ENUM, it needs to be converted to Text to display.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,725)