I’m stuck in some (seemly) simple problem. I use a normal data source table and I want to empty table entry. Not to delete whole row. I was thinking to just make an empty string but not working. I also tried to give null to te table entry but nope not working. Please help!!
I expanded the image of blocks a bit. My call to the function has an integer as actual var.
I call the function by a click on that nice GUI button.
On the Gui I have 2 debug lables. The first lable should show up empty when the cell on my table is empty. I tested it with another empty cell as value for that lable. The second lable gives me an counter to check the function ran or not.
First of all many thanks for looking in to my problem already.
The entire project is for home automation. I use Arduino’s to switch lights on and off. The App I’m building is to control them. I connect them trough Bluetooth. All is working fine but for version 2 of my app I plan to make a settings screen in witch I can change the devices. For now I can add new devices and change the image on them. All is logged on the DB (table) on my phone. Only thing is to recyle a device. I was thinking about delete entire row, but problem on that solution is I lose the whole row and can’t add a new one if I want.
I use the local table for my DB. I planned to do this for reason I don’t want to rely on internet based content. In early stage of my project (not using bluetooth) I experienced a malfunction on internet provider side, and could not turn off the light. So now I don’t use cloud content at all.
The delete entire row and add new row seems to work. At first I did not want this because I was thinking that shifting a device in order was something I not desire. Now I implemented it and after testing this method is n’t that messy I first thought.
Here the new function blocks. Stil having many debug text inside, so read between those lines.