I am trying to read data from my database (selecting of ListView items) and would like to assign the values to some labels. The first part with the mac adress works fine (see block screenshot). But for the for the labels "lbl_Coach_number_value", "lbl_train_assignment_value" and "lbl_coach_no_value" I always get the same data probably from the record of tag/key Number 1. Obviously I wronly feed the lists from "data1" and "data2" (using Selection/SelectionIndex).
Can any body help?
You are absolutely right, I haven't proven several things because I do not know any better. This was in first place why I came up with my (beginner) question.
My database has a datastructure as follows:
Key/Tag/unique identifier: MAC Address of device (ESP32)
Dataset 1: Device Name
Dataset 2: Group Name
Dataset 3: Free Number
The ListView Blocks above displays all records sorted by Dataset 2, Group Name whereas the MAC Address (tag, unique identifier) is shown correctly in the labels mentioned but not the rest of the data. See the red arrow markings in my blocks. Obviously that does not work the way I intended.
If anybody knows where I can find an example database that would maybe help.
Obviously the list with data "select list item list" -> "get data" is always populated with data from the same record regardsless of which selection ist made. So how do I have to modifiy the six select list item/get data blocks above?
I am aware about the same TinyDB content across all apps but I don't understand the implication for my project.