cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ubertortle
Helper I
Helper I

Reference DataCard for If function

How would I go about referencing a datacard from a Form to check against an if function? 

example:

Form: Form5,

DataCard: Test Data Card,

DataCardValue: DataCardValue76. 

 

I was hoping it would be something Like "If(Form5.'Test Data Card'.DataCardValue76.Value) = "YES", true, false)" but it appears to not be the case.

11 REPLIES 11

If you make a label, and set its text equal to the DataCard Value Selected, does it also show blank?

 

Edit: Try calling that UpdateContext() on OnChange, not OnSelect

@xzDan 

 

That did the trick, just didn't like Updating OnSelect I guess.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,283)