I get the exception above, after loading a map-file in the following code:
When I build a map with the following code, it runs without problems:
MapDatenbank.Put("Key1", Array As String("A", "B", "C"))
MapDatenbank.Put("Key2", Array As String("A", "B", "C"))
MapDatenbank.Put("Key3", Array As String("A", "B", "C"))
When I save the map with file.writemap and load it again with file.readmap, I get the error-message. How is it possible to read the different values in a string, after loading the map?
Thanks for help....
B4X:
Sub ListViewDatenbank_ItemClick (Position As Int, Value As Object)
Dim a() As String
a= MapDatenbank.Get(Value) <= Exception!!!!!!!!!!!
EditText1.Text=Value
EditText2.Text=a(0)
EditText3.Text=a(1)
EditText4.Text=a(2)
When I build a map with the following code, it runs without problems:
MapDatenbank.Put("Key1", Array As String("A", "B", "C"))
MapDatenbank.Put("Key2", Array As String("A", "B", "C"))
MapDatenbank.Put("Key3", Array As String("A", "B", "C"))
When I save the map with file.writemap and load it again with file.readmap, I get the error-message. How is it possible to read the different values in a string, after loading the map?
Thanks for help....