'index' toujours un erreur

sokotanic Messages postés 116 Date d'inscription mercredi 22 novembre 2006 Statut Membre Dernière intervention 19 mai 2012 - 5 sept. 2007 à 07:27
sokotanic Messages postés 116 Date d'inscription mercredi 22 novembre 2006 Statut Membre Dernière intervention 19 mai 2012 - 5 sept. 2007 à 21:02
bonjour

voici mon code

If KeyAscii = 13 Then
With Data2.Recordset
.Index = "nomindex"
.Seek "=", edit1.Text
If Data2.Recordset.NoMatch Then
MaskEdBox1.SetFocus
Else
MsgBox "existe deja"
End If
End With
End If

je recoi toujours un erreur :
Erreur d'execuction '3251':
Operation non autorisée pour ce type d'objet.

merci d'avoir m'aidé

2 réponses

jrivet Messages postés 7392 Date d'inscription mercredi 23 avril 2003 Statut Membre Dernière intervention 6 avril 2012 60
5 sept. 2007 à 08:18
Salut,
Sur quelle ligne exactement se produit l'erreur?

@+: Ju£i?n
Pensez: Réponse acceptée
0
sokotanic Messages postés 116 Date d'inscription mercredi 22 novembre 2006 Statut Membre Dernière intervention 19 mai 2012
5 sept. 2007 à 21:02
la migne de l'index :(
0
Rejoignez-nous