Hi All,
I've recently been updating my app so I am using ID's and lookup tables, which means that if a name changes, it flows through to everything in the app. So I have a remove function, and now that the table I'm removing from has an ID instead of the name I select in the listbox to remove, I'm having trouble to get the code to work.
Basically I select an item in a list box, click a button, and the item is removed from a table. However the item I select is the name of the item, and the item in the table to remove is the ID of that name. Being that there could be multiple selections, I have used a collection.
ClearCollect(ItemCollect, {item: ListBox4.SelectedItemsText.Value});
ForAll(ItemCollect,
RemoveIf(Mapping, LookUp(Items, crb20_item = item, crb20_item_id)));
I'll get my head around the lookups soon I hope!
Thanks