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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Freeze entry based on ...
Power Apps
Unanswered

Freeze entry based on calendar date

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
 

The idea is to create a simple Power App, where the Sales team would be able to enter the Monthly forecast and then update the progress on a weekly basis.

What I need help is to get this last 4 blocks disables based on the calendar date, which means the Sales team should not be able to enter/ edit the Week 1 box after 7th of the concerned month, Week 2 box after the 14th of the concerned month and so on.

For the Week 1 box, the last updated number on or before 7th of the month should get stored without any further permission of edit and so on for the other boxes  as on 14, 21st and 28th respectively.

 

Having a hard time to get this done. Any help on this would be highly appreciated.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You can use this formula to disable the textbox controls in the textbox's DisplayMode property

    If(Value(Text(Today(),"dd")) > 7,Edit,Disabled)

    Replace 7 with the appropriate date number for each box.

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up. 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard