Hello,
I have another Problem with the size of the items in the SP list. Everything worked fine, till I tested the search function in the combobox, because it does not search all the 5000 elements in the SP list.
For this I genereted a collection, which loads all elements in three collection; I merged them together and then search out of them.
The main goal would to search in the combobox for the items based on the first 3 characters. So when I enter 416 it should list all elements in the combobox from the SP List which starts with 416.
I created a textbox txtSearch which should be used to enter the first 3 characters, based on that, the combobox items should be filtered out of the merged collection.
The formulas which I used to update the lists:
onVisible (Screen):
ResetForm(Kettenschieber_Form);
Concurrent(
ClearCollect(col1, Filter('Kettenschieber LO/LC', ID >= 1 && ID <= 2000)),
ClearCollect(col2, Filter('Kettenschieber LO/LC', ID >= 2001 && ID <= 4000)),
ClearCollect(col3, Filter('Kettenschieber LO/LC', ID >= 4001 && ID <= 6000))
);
ClearCollect(MergedCollection, col1, col2,col3)
the formular for the items of the combobox Equipment:
Filter(MergedCollection,txtSearch.Text in MergedCollection.Title)
I now enter three characters in the textbox and the combobox items should be update out of that action. Do I have to do a update transaction on textbox change?
I also tried the following:
OnChange at the txtSearch field:
Set(varTitle, Filter(MergedCollection,txtSearch.Text in MergedCollection.Title));
Item at cbEquipment:
varTitle


Best Regards
Christoph