cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dimitrisg
Regular Visitor

Transfer date range onclick from selected record to calendar

In my screen I have 2 controls: 

 1) BrowseGallery, which is actually records containing data, among them a startdate and an enddate. 

 2) A calendar taken from a component. This calendar has start and end date too as variables. 

 

All I need is every time the user clicks on a specific record (1st control), then its date range to be shown in the calendar, that means its SelectedDateFill becomes blue. 

 

I would appreciate it if you could help. 

 

Thanks

DimG

1 REPLY 1
RandyHayes
Super User
Super User

@dimitrisg 

Without knowing the properties of your component...

 

Set the startDate of the Component to : yourGallery.Selected.startdate

and the endDate of the Component to : yourGallery.Selected.enddate

 

 

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,042)