web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Datepicker selection p...
Power Apps
Suggested Answer

Datepicker selection pass to a column in a table

(1) ShareShare
ReportReport
Posted on by 2
Hi All,
 
How do I pass the selected date from a datepicker control to a column of a sql table value already connected in the power app, so the value get stored in the table.
 
Regards,
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,442 Super User 2025 Season 2 on at
    Hi,
     
    You need to somehow be able to identify what Record in SQL you want to update. Otherwise no code in the App will know how to updte the row you want.

    So if you JUST have a date picker, then you cannot do it.
     
    But let's pretend in SQL you have a UniqueID Column and the record you want to update is 12345
     
    In your Date Picker pick your date
     
    Then do a Patch
     
    Patch(MySqlTable, LookUp(MySqlTable, UniqueID = 12345, {MyDateField: DataPicker.SelectedDate });
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard