Hi All
Hopefully someone can help me with some formulas
I have 3 ComboBoxes on my form with formulas in the ITEM propery to filter/sort the available cBox options:
1. The 'Supplier' cBox has this formula to filters to distinct results only:
Distinct('[dbo].[SupplierServices]',Supplier) 2. The 'Goods/Service cBox has a formula to filter results by what's in the first cBox
Filter('[dbo].[SupplierServices]',Supplier=ComboBox1.Selected.Result)3. The Employee cBox has a formula to sort the employee names into alphabetical
Sort('[dbo].[StaffRegister]'.InitialSurname,InitialSurname)But....
The problem is if I paste these formulas into the ComboBox ITEM properties it breaks my DefaultSelectedItems?
And I need the DefaultSelectedItems, so that when the user goes back to edit a record, their previous selection is still there, otherwise they would have to select all 3 again before saving
Am I placing these formulas in the wrong place?
I can believe MS would make you chose between having a DefaultItemsSelected or sorting/filtering would they?
Any advice would be appreciated
Regards
Vicky