Loading

Revision differences

Old revision #pcjd5pmzgNew revision #ppqyzrgcd
17  17  
18' Start the loop  18' Start the loop  
19x = 1  19x = 1  
20Do Until x = 2500  20Do Until x = 5000
21    Set newitem = oJSONResponse.AddToCollection(oJSONResponse.data("fieldPoints"))  21
22    newitem.add "fieldName", "field name here (x="&x&")"  22    Response.Write """fieldName"", ""field name here (x="&x&")""" & VbCrLf
23    newitem.add "fieldID", "field id here (x="&x&")"  23    Response.Write """fieldID"", ""field id here (x="&x&")""" & VbCrLf
24    newitem.add "fieldArea", "field area here (x="&x&")"  24    Response.Write """fieldArea"", ""field area here (x="&x&")""" & VbCrLf
25    newitem.add "lat", "lat here (x="&x&")"  25    Response.Write """lat"", ""lat here (x="&x&")""" & VbCrLf
26    newitem.add "long", "long here (x="&x&")"  26    Response.Write """long"", ""long here (x="&x&")""" & VbCrLf
   27    Response.Write VbCrLf
   28
   29'    Set newitem = oJSONResponse.AddToCollection(oJSONResponse.data("fieldPoints"))
   30'    newitem.add "fieldName", "field name here (x="&x&")"
   31'    newitem.add "fieldID", "field id here (x="&x&")"
   32'    newitem.add "fieldArea", "field area here (x="&x&")"
   33'    newitem.add "lat", "lat here (x="&x&")"
   34'    newitem.add "long", "long here (x="&x&")"
   35 
27    x = x + 1  36    x = x + 1  
28    Response.Flush  37    Response.Flush  
29Loop  38Loop