giga Well-Known Member Licensed User Longtime User Jan 3, 2014 #1 I am using TableView with SqlLite and able to see the database and fields. But when I try to modify a field and use wherefields.put nothing happens. I don't get any error the field does not change. However if I go into the database through SQLlite expert and change it there it will show in the TableView. Code: Copy Dim WhereFields AsMap WhereFields.Initialize WhereFields.Put("employ_id", "1234") DBUtils.UpdateRecord(sql1, "Office", "staff", 100, WhereFields) Thanks everyone for their help.
I am using TableView with SqlLite and able to see the database and fields. But when I try to modify a field and use wherefields.put nothing happens. I don't get any error the field does not change. However if I go into the database through SQLlite expert and change it there it will show in the TableView. Code: Copy Dim WhereFields AsMap WhereFields.Initialize WhereFields.Put("employ_id", "1234") DBUtils.UpdateRecord(sql1, "Office", "staff", 100, WhereFields) Thanks everyone for their help.
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2014 #2 The TableView is not directly connected to the SQL table. You will need to update the TableView data (or call DBUtils.ExecTable again). Upvote 0
The TableView is not directly connected to the SQL table. You will need to update the TableView data (or call DBUtils.ExecTable again).