cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
seadude
Level 10

How to clear an image variable without a Collection?

Scenario:

  • User clicks "Take Photo" button
  • Camera.stream is stored as a variable "varPic"
  • Textbox1.Default property is set to "varPic" to hold the Base64 (to be sent to SQL table)
  • User clicks "Save" to Patch photo to SQL table (no Collections used)

 

Question:

  • How do I clear varPic?

 

I've tried using a Label instead of a Textbox, but Labels have no Default property nor a Reset property to leverage.

And Textboxes don't have a Text property to leverage!

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
mr-dang
Level 10

Re: How to clear an image variable without a Collection?

Hi,

You can try Blank():

 

Set(varPic, Blank())

Blank() returns a null value to wherever it is placed.

 

Let me know how this works out.

 

Mr. Dang

 

____________

Microsoft Employee
@8bitclassroom

View solution in original post

1 REPLY 1
mr-dang
Level 10

Re: How to clear an image variable without a Collection?

Hi,

You can try Blank():

 

Set(varPic, Blank())

Blank() returns a null value to wherever it is placed.

 

Let me know how this works out.

 

Mr. Dang

 

____________

Microsoft Employee
@8bitclassroom

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 193 members 4,489 guests
Please welcome our newest community members: