C
Csaba Bona
Gruppe1.MoveFirst
Do While Not Gruppe1.EOF
If CVar(Gruppe1.Fields
(TabellenAktionStruktur.PrimärSchlüssel.Name)) = _
Nz
(TabellenAktionStruktur.PrimärSchlüssel.Wert, 0) Then
DoCmd.GoToRecord , , acGoTo,
Gruppe1.AbsolutePosition
Exit Do
End If
Gruppe1.MoveNext
Loop
'***************************************************
The above Code searches a certain Record within an opened
form (after entering a new record). But it doesn't, if
the 'ActiveControl' is a CheckBox. Why?
Do While Not Gruppe1.EOF
If CVar(Gruppe1.Fields
(TabellenAktionStruktur.PrimärSchlüssel.Name)) = _
Nz
(TabellenAktionStruktur.PrimärSchlüssel.Wert, 0) Then
DoCmd.GoToRecord , , acGoTo,
Gruppe1.AbsolutePosition
Exit Do
End If
Gruppe1.MoveNext
Loop
'***************************************************
The above Code searches a certain Record within an opened
form (after entering a new record). But it doesn't, if
the 'ActiveControl' is a CheckBox. Why?