Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Syndicate_Admin
Administrator
Administrator

Create a Set(varFormMode,Edit/View/New)

@Reza Dorrani

Good day I am trying to create a Set(varFormMode,Edit/View/New) on the Edit, View and New button icons, however, when I change the property default mode of the form to the variable that has been created, it does not apply the action, instead, the property states that it expects an enum Value.

 

Please refer to the below Screenshots:

 

zmneno_0-1630999743985.png

 

zmneno_1-1630999812411.png

 

zmneno_2-1631000134058.png

 

Your Swift Response will be highly appreciated.

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Syndicate_Admin ,

The formula should be Set(varFormmode,FormMode.Edit)  instead of Set(varFormmode,Edit)

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Syndicate_Admin ,

The formula should be Set(varFormmode,FormMode.Edit)  instead of Set(varFormmode,Edit)

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.