Hi All
Need help again please.
I have a SQLite database which has all the information on the widths of a road. It consists of the following:
Stake Left Width Right Width
0.000 5.000 5.000
120.000 5.000 5.000
1000.000 6.000 6.000
......etc.
I want insert a Stake between SV 120 and SV 1000, that it looks as follows:
Stake Left Width Right Width
0.000 5.000 5.000
120.000 5.000 5.000
900.000 5.000 5.000
1000.000 6.000 6.000
......etc.
At the moment I am reading the Database into an array, sorting the array and then writing everything back into the database.
Is there an easier way?
Thanks
Michael
Need help again please.
I have a SQLite database which has all the information on the widths of a road. It consists of the following:
Stake Left Width Right Width
0.000 5.000 5.000
120.000 5.000 5.000
1000.000 6.000 6.000
......etc.
I want insert a Stake between SV 120 and SV 1000, that it looks as follows:
Stake Left Width Right Width
0.000 5.000 5.000
120.000 5.000 5.000
900.000 5.000 5.000
1000.000 6.000 6.000
......etc.
At the moment I am reading the Database into an array, sorting the array and then writing everything back into the database.
Is there an easier way?
Thanks
Michael