Hello there !
I have a DataTable with a column 'Places', that holds a number.
By default, it has a Text property set to ThisItem.Places .
I modified this value and replaced it with this :
(ThisItem.Places - CountRows(Filter(Inscriptions;Session.idSession = ThisItem.idSession))) & " / " & ThisItem.Places
Basically, this is (TotalSpots - TakenSpots) & " / " & TotalSpots, which should for instance display by default with 40 total spots/places :
40 / 40
But the problem is that here, ThisItem seems to take the value already in the datatable, not the one stored in DataVerse.
So when the datatable reloads, ThisItem.Places doesn't have the value "40" like it should, but "40 / 40", and so it displays :
40 / 400 / 40 / 40
TL;DR : ThisItem.Property takes the value stored in the DataTable. I want to take the value from the source, DataVerse, but I don't know how.
Thank you for your time