
Announcements
I have a gallery showing the time of the last registration made. The formula has already been created and they search correctly. The name of the label in the gallery is Label11 (However, I don't think this is useful... lol)
What I need is to create a relationship in the display mode of button 1 according to these comboboxes below, which perform the filter of a gallery:
1. Team (ComboBox1_1)
2. Shift (ComboBox2_1)
3. Month (ComboBox3)
4. Week (ComboBox2_2) -> Here the items are as: Week 1, week 2, week 3, week 4 and week 5.
And make a condition for the display mode of a button that will enable it if there are no records in the DataGeradosIPG list.
Example: I am in the month of October, I selected Team X, Shift 1, Month October and week 1. If there is no record in the list DataGeradosIPG of these items, enable the button, if there is, disable it.
Code to put on displayMode
If(CountRows(Filter(DataGeradosIPG,Team=ComboBox1_1.selected.Value,shift=...))>0,Disabled,Edit)