Le savoir est la seule matière qui s'accroit quand on la partage (Socrate)
sql = "INSERT INTO tblRptExcelADV ( ADV, [OF], Client, N°_OV_Ligne, N°_Commande_Client, Date_Fin_Fabrication_Planifiee, Date_Envoi_Mail_Production, Nlle_Date_Fin_Fab_Planifiee, Date_Modif_Accusé_Départ, Date_derniere_Modif_Date_Accuses )" sql = sql & " VALUES ('" & rst.fields(22).Value & "','" & rst.fields(0).Value & "'," & _ "'" & rst.fields(10).Value & "','" & rst.fields(11).Value & "'," & _ "'" & rst.fields(12).Value & "','" & rst.fields(13).Value & "'," & _ "'" & rst.fields(19).Value & "','" & rst.fields(18).Value & "'," & _ "'" & rst.fields(23).Value & "','" & rst.fields(24).Value & "')" 'Debug.Print sql DoCmd.RunSQL (sql)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question