Thank you for your answer,
@RB Smissaert , but i need a bit of clarification:
Where should i use the snippet? Because if i use it on the RowContentFiller, won't it just end up giving me the last row for every row?
From what i understand, the RowContentFiller is called everytime a row is created, so looping everytime will just give me the last row
At the same time, though, another question comes to mind: where do i close the connection?
In Activity_Create i create the connection and connect to the SQL database, and i execute the query, but does the connection need to be open for the cursor to work?
If not i could just execute the query and then just close the connection.
If it needs to be open, then should i check for the last row in my "RowContentFiller" and then close it there?