Hi all,
I want to auto set date for DatePicker by If Like
if(A=B, Set(DatePicker.SelectedDate=Today()))
but it doesn't work. Can we SET date for Datepicker?
(I Still want to keep DefaultDate = Parent.Default for showing Parent.Default Date on Re-EditScreen). Thank!
Solved! Go to Solution.
Hi @Anonymous
If(Form1.Mode = New, SelectedDatevar ,Parent.Default)
Hi @Anonymous
Set(SelectedDatevar,If(A=B,Today(),Blank()))
Hi @yashag2255
I don't want to create a variance in DefaultDate of DatePicker1, because of when I push at Re-Edit in DetailScreen, That Datepicker can't show the history date that corresponding to last or other Submit
In my case, I want DatePicker1 to show the today date when I click on button Negotiation
My code Onselect of Button: DatePicker1.SelectedDate = Now()
but it doesn't work friend, can we have another way to Auto Set Date for DatePicker?
Hi @Anonymous
If(Form1.Mode = New, SelectedDatevar ,Parent.Default)
Thank @yashag2255
It totally solved my problem
I get many stuck when working with Powerapps, I will ask you more later. thank so much
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
245 | |
122 | |
84 | |
83 | |
67 |