Hello everybody,
I have an action list (Excel database) which I visualize with the help of a gallery.
I would like to be able to set a timeline for each point using a date picker.
I have an edit button to edit the date picker and a save button to send the changed date in the database.
Whenever new dates are set, the date picker visualizes a different date than in the database.
Who can help me . . .
Datepicker
Defaultdate: Thisitem.Wann
Displaymode: If(LetsEdit; DisplayMode.Edit;DisplayMode.View)
Edit Button:
OnSelect: UpdateContext({LetsEdit: !LetsEdit})
Text: If(LetsEdit;"Abbrechen";"Edit")
Save Button
OnSelect: Patch(Aktionsliste_OPS2_Linie;ThisItem ;{Problem_KorrektiveMaßnahme:TextInput2.Text;Ursache:TextInput3.Text;Vorbeugende_Maßnahme:TextInput3_1.Text;Wer:TextInput4.Text;Wann:DatePicker3.SelectedDate});;UpdateContext({LetsEdit: false})
Hi @Robertjde :
Could you tell me:
I'm afraid "6082020" is not a date format that can be recognized by powerapps.(I have done the test and the result is the same as your screenshot)
Please try these steps:
1\Set Wann to date format
2\Using "6/08/2020" instead of "6082020" (In my test, the correct result can be obtained after performing this step)
In addition,you also need to pay attention to the time zone.click here
Best Regards,
Bof
I save 2 different dates (Datum, Wann). The format is in "Text" format.
If I only save the date (Datum) once, it will be displayed correctly in my application. If I save 2 x date (Datum, Wann) the database (Excel) loses the format, for whatever reason.
I also tried "DATE" format
Hi @Robertjde :
Could you tell me:
Best Regards,
bof
User | Count |
---|---|
260 | |
123 | |
99 | |
48 | |
43 |