delaux
Messages postés20Date d'inscriptionlundi 5 novembre 2007StatutMembreDernière intervention12 février 2008
-
12 févr. 2008 à 10:12
NHenry
Messages postés15102Date d'inscriptionvendredi 14 mars 2003StatutModérateurDernière intervention27 mars 2024
-
12 févr. 2008 à 11:01
Bonjour,
Je souhaite faire un recordset.addnew et j'obtient systématiquement l'erreur 3251.
Voici mon code :
If DE.Connection.State = 0 Then
DE.Connection.Open
End If
If DE.rsCommand2.State = 1 Then
DE.rsCommand2.Close
DE.rsCommand2.CursorLocation = adUseClient
End If
DE.Command2
DE.rsCommand2.MoveLast
DE.rsCommand2.AddNew
Set DataGrid.DataSource = DE.rsCommand2
DataGrid.Refresh
Merci de votre aide
________________________
Thomas
N'oubliez pas "Réponse Acceptée" ...