i have a map "m" filled and then i compile another map "filesMap" with some elements from first map:
with this control it's all ok!:
and the result is (for example):
Key:33297 - Value:Everybody's Broken
Key:33290 - Value:Lost Highway
but if i do:
the result is NULL !!!
why??
:sign0085:
B4X:
For i = 0 To (m.Size / 9) - 1
filesMap.put( m.Get("ID"), m.Get("Title"))
...
next
with this control it's all ok!:
B4X:
Dim i As Int
Log("filesMap.Size:" & filesMap.Size)
For i = 0 To filesMap.Size - 1
Log("Key:" & filesMap.GetKeyAt(i) & " - " & "Value:" & filesMap.GetValueAt(i))
Next
and the result is (for example):
Key:33297 - Value:Everybody's Broken
Key:33290 - Value:Lost Highway
but if i do:
B4X:
Msgbox(filesMap.get(33297), "GetField")
or
Msgbox(filesMap.get("33297"), "GetField")
the result is NULL !!!
why??
:sign0085:
Last edited: