I have a problem with saving then last used index of my table-control:
I save the last used index of the table1 in an ini-file with
With a new start of the application, the table should show the last index, which was in use. I load the table with
and want to show the last index (dataindex) with:
But I always get this error message:
I save the last used index of the table1 in an ini-file with
B4X:
FileWrite(c1,table1.SelectedRow) 'dataindex
With a new start of the application, the table should show the last index, which was in use. I load the table with
B4X:
If FileExist("Datenbank.xml")=True Then table1.LoadXML("Datenbank.xml")
and want to show the last index (dataindex) with:
B4X:
table1.TableSort ("Modul ASC")
table1.SelectCell("Modul",dataindex)
But I always get this error message: