start from 0 position of array instead of 1 in main iteration

This commit is contained in:
Paul Trowbridge 2017-10-02 09:58:28 -04:00
parent d2e3fc3cd8
commit 30e20bc420

View File

@ -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 & "("