tufanv Expert Licensed User Longtime User Jan 11, 2016 #1 Hello, In b4a i can successfuly use m.get("age") ( where age is a double in mysql database) but same ode in b4i returns (null) with this code: Code: Copy Dim listfleet As List listfleet = parser.nextobject 'returns a list with maps For i = 0 To listfleet.Size - 1 Dim m As Map m = listfleet.get(i) Dim ilksatir,ikisatir As double ilksatir=m.Get("age") ikisatir=m.Get("available") How can i fix it ? TY
Hello, In b4a i can successfuly use m.get("age") ( where age is a double in mysql database) but same ode in b4i returns (null) with this code: Code: Copy Dim listfleet As List listfleet = parser.nextobject 'returns a list with maps For i = 0 To listfleet.Size - 1 Dim m As Map m = listfleet.get(i) Dim ilksatir,ikisatir As double ilksatir=m.Get("age") ikisatir=m.Get("available") How can i fix it ? TY
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2016 #2 What is the output of Log(m)? Upvote 0
tufanv Expert Licensed User Longtime User Jan 12, 2016 #3 Yes, i did not select the correct column in querry. Thanks Erel said: What is the output of Log(m)? Click to expand... Upvote 0
Yes, i did not select the correct column in querry. Thanks Erel said: What is the output of Log(m)? Click to expand...