Hey all,
Think I need a fresh set of eyes to tell me what's up with this. The first field (dbid) does not get entered into the database but it does show up in the list just fine. All other fields are fine.
This is using the standard insertmaps, first pulled from an external database. dbid is numeric but result shows as null:
Thanks!
Mike
Think I need a fresh set of eyes to tell me what's up with this. The first field (dbid) does not get entered into the database but it does show up in the list just fine. All other fields are fine.
This is using the standard insertmaps, first pulled from an external database. dbid is numeric but result shows as null:
Dim parser As JSONParser
parser.Initialize(res)
Select TaskId
Case InspectionList
Dim irqs As List
irqs = parser.NextArray 'returns a list with maps
For i = 0 To irqs.Size - 1
Dim m As Map
m = irqs.Get(i)
ListView1.AddSingleLine2( m.Get("dbid") & m.Get("permitnum")& "-" & m.Get("street") & "-" & m.Get("insprequest"),m.Get("dbid"))
Next
'writing to local db
DBUtils.InsertMaps(ldata, "inspupload", irqs)
ProgressDialogHide
parser.Initialize(res)
Select TaskId
Case InspectionList
Dim irqs As List
irqs = parser.NextArray 'returns a list with maps
For i = 0 To irqs.Size - 1
Dim m As Map
m = irqs.Get(i)
ListView1.AddSingleLine2( m.Get("dbid") & m.Get("permitnum")& "-" & m.Get("street") & "-" & m.Get("insprequest"),m.Get("dbid"))
Next
'writing to local db
DBUtils.InsertMaps(ldata, "inspupload", irqs)
ProgressDialogHide
Thanks!
Mike