From 30e20bc42014274f6015c568228b176c67f5eab4 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 2 Oct 2017 09:58:28 -0400 Subject: [PATCH] start from 0 position of array instead of 1 in main iteration --- TheBigOne.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheBigOne.cls b/TheBigOne.cls index 9e8761e..74512e2 100644 --- a/TheBigOne.cls +++ b/TheBigOne.cls @@ -2199,7 +2199,7 @@ Public Function SQLp_build_sql_values(ByRef tbl() As String, trim As Boolean) As Next j - For i = 1 To UBound(tbl, 2) + For i = 0 To UBound(tbl, 2) rec = "" If i <> 1 Then sql = sql & "," & vbCrLf rec = rec & "("