I always have problem with the end of the string
what is wrong in this string?
what is wrong in this string?
Code:
strSQL = "Insert into tblGoraZleceniaNowa (Naklad_pracy, IloscStron, KoloryP, KoloryT, FormatX, FormatY, id_zlecenia, nazwa_id) values (" & Nz(Me.Naklad_pracy, "") & ", " & Nz(Me.IloscStron, "") & ", '" & Nz(Me.KoloryP, "") & "', '" & Nz(Me.KoloryT, "") & "', " & Nz(Me.FormatX, "") & ", " & Nz(Me.FormatY, "") & ", '" & Forms!frmZlecenieMarzena!ID_Zlecenia & "', " & Nz(Me.Nazwa_id, 0) & ")"