Re: Filtering a gallery by true/false value
@Chrisguff12
We for one thing, don't put anything other than SubmitForm(Down_Machine_Details_Form) in the button. Put anything else you want to do in the OnSuccess property of the form. That way your commands will not be executed unless the form actually succeeds in submitting the data. For example, you wouldn't want to go to the Success Screen unless the submission actually worked!
As for the rest, I would have the following in your form's OnSuccess property:
Patch(
Etching_Maintenance_Reports, Down_Machine_Details_Form.LastSubmit,
{'Machine id Down':"False"}
);
ResetForm(Down_Machine_Details_Form);
Navigate(SuccessScreen,Fade)
The patch will take the record that was just successfully submitted and make its 'Machine id Down' value "False" and then execute the reset and navigate functions.