Hi everyone. I am filtering a table to only display items that are instock on our online store.
Search(
Filter(
'Depot-Partss',
IsBlank(ComboBox1.Selected.Value) || IsEmpty(ComboBox1.Selected.Value) || crd63_partvendor = ComboBox1.Selected.Value,
crd63_qtyonhand > 0,
IsBlank(ComboBox2.Selected.Value) || IsEmpty(ComboBox2.Selected.Value) || crd63_arparts = ComboBox2.Selected.Value,
crd63_qtyonhand > 0
),
TextInput1.Text,
"cr3db_crd63_partname"
)
However I need to add in some code to ignore the crd63_qtyonhand > 0 if crd63_arparts = "AR" or crd63_arparts = "Embed Repair". These items are not counted the same way in our warehouse so they are always instock.