I am building an app from scratch using an Excel spreadsheet table in OneDrive as my data source. One of my fields contains a date, and when I add this field to my form by clicking the "eye" I get three data entry boxes -- one for date, one for hour, and one for minute. I don't need or want the hours or minutes, just the date, with a calendar control. I can't figure out how to get rid of the extra hours and minutes boxes (except by resizing them so that they're invisible). How do I edit the properties to get what I want?
@diegocruzb96 No, I gave up on that project years ago. I don't even remember what I was trying to do.
Hi, did you find the solution?
Hi. Not only I want to remove the time control but I don’t want it to be included when I submit to Excel, I want only the date. How can I do it ?
Hello there, sorry silly question
in one of your samples you have a field "DateCreated" how can I insert labels that show in the form like this:
=Datecreated + 24
=Datecreated + 30
=Datecreated + 37
what I am trying to do is to setr 3 labels that show datecreated plus 24 days = green, plus 30 days = Yellow, plus 37 days = Red
Thanks in advance for your response
Hi David_Schrag,
If you generated the App from your Excel file directly, then we need to unlock under Advanced to modify the property, select the control that you would like to modify first, then unlock it under Advanced, after that, scroll down to the bottom, under Design part, click more Options, then the bottom three is the visible propety, change its value to false should make it disappear.
If you have any further questions, please post back.
Adding some reference:
Understand data forms in Microsoft PowerApps
Regards
Just a couple of thoughts:
1) Be careful with dates in Excel, see this post I strongly recommend saving a dates as text in format "yyyy-mm-dd"
2) My personal opinion is that as soon as you start to customise edit or display forms, you are much better off not using forms but building you own using the single controls and submitting data changes via Patch actions
Happy to give advice on both if needed
You could selet the item in question, go into the Display Properties under the Advanced Menu, the third option from the bottom is 'Visible', change this to "false" for each item you would like to remove from view.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional