TinyDB is easier to update than a table.
Use the vehicle code as the tag and the mileage as the value.
On startup, check if the number of tags in TinyDB is zero.
If zero tag count (length of list) load the table.csv file,
convert it to a table (list of lists), and for each row in the table
store it in TinyDB, 1st item is the tag, 2nd item is the value.
I suggest adding a ListPicker for easy vehicleID lookup,
loaded from the tags list of TinyDB, to avoid having
to always type the vehicle ID.
See the Books and Tutorials section of FAQ
and the TinyDB section of FAQ
ABG