Dim deliveries As List
deliveries = DBUtils.ExecuteMemoryTable(SQLLite, "SELECT [del_pk],[del_rndfk],[del_time],[del_dspfk],[del_receivedby],[del_delivered],[del_scancode] FROM DeliveryHistory", Null, 0)
Dim commands As List
commands.Initialize
For i = 0 To deliveries.Size - 1
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "insert_deliveryhistory"
cmd.Name = "select_runsheetdetails"
Dim delivery() As String
delivery = deliveries.Get(i)
cmd.Parameters = Array As Object(delivery(0), delivery(1), delivery(2), delivery(3), delivery(4), delivery(5), delivery(6))
' cmd.Parameters = Array As Object(delivery)
commands.Add(cmd)
Next
reqManager.ExecuteBatch(commands, "Upload")