Hi,
I have a gallery on my mainscreen with 100 diffrent items.
Inside the gallery i have a textbox with the following code:
Value(CountRows(Filter(Lager, 'Title (Title0)'.Value=ThisItem.Title,Reserverad.Value = "Nej", Sparad.Value <> "Ja")))
(Checks how many items is there in stock per item)
Next screen I have a datatable where I collect an inventory report.
OnSelect for getting the data for the datatable are:
ClearCollect(Report, AddColumns(Gallery_Main_Artiklar.AllItems, "Antal", Label_Current_Stock.Text))
The first 5 items in the report (textbox) are correct.
The next 95 items will get the same value as item 5.
Workaround, scroll through the items gallery all the way to the end and the report will be correct.
Is there a way to permanently fix this without the given workaround?
Thanks - Johan