Hello
On an edit form, I put a toggle button.
I am connected to a sql server database on a "task" table
I have a "status" field that is required in the database.
I would like that when I open the screen (with a database record, a task), the status value was retrieved on the "status" field and, if the status is "done", the toogle button is checked and if the value is "to do", the toogle is unchecked.
After that, if you change the toogle value, the "status" field also changes.
In short, I would like to replace my text field which can take two values (done, to do) by a toogle and that it is updated in the database
Could you help me, please?