Thanks for the thought, yeah, you're right, but one of the forms that gives this message has no ActiveX controls in it! Do you think there is a sort of debris remaining from an ActiveX control which was deleted later on? By the way, the following is the code I wrote for form_open: (I learned Basic on ZX Spectrum, and didn't add much to it in the following years, so the code might seem a bit amateur
Private Sub Form_Open(Cancel As Integer)
Dim Talebe As Database
Dim eklenenler As Recordset
Dim silinenler As Recordset
Dim veri As Recordset
Dim f, silno, say
Set Talebe = CurrentDb
Set veri = Talebe.OpenRecordset("TdigerT", dbOpenDynaset)
Set silinenler = Talebe.OpenRecordset("Zsilinenler", dbOpenDynaset)
say = silinenler.RecordCount
If say = 0 Then GoTo devam1
silinenler.MoveLast
say = silinenler.RecordCount
If say = 0 Then GoTo devam1
With silinenler
.MoveFirst
For f = 1 To say
silno = Trim(Str(!No))
veri.FindFirst "[No] = " & silno
veri.Delete
silinenler.MoveNext
Next f
End With
devam1:
silinenler.Close
If say <> 0 Then veri.MoveLast
Set eklenenler = Talebe.OpenRecordset("Zeklenenler")
say = eklenenler.RecordCount
If say = 0 Then GoTo devam2
eklenenler.MoveLast
say = eklenenler.RecordCount
If say = 0 Then GoTo devam2
With eklenenler
.MoveFirst
For f = 1 To say
silno = eklenenler!No
veri.AddNew
veri!No = silno
veri.Update
.MoveNext
Next f
End With
devam2:
eklenenler.Close
veri.Close
Talebe.Close
Me.Requery
DoCmd.Maximize
End Sub
Sorry for the headache!