tach auch,
WIN XP Prof mit SP 3 und Office 2007.
Der Code ist vorhanden
\\\
Dim rs As Recordset
With Forms!frmProjekteErfassen.Form
Set rs = .RecordsetClone
rs.FindFirst "IDKunden = " & strIDKunde
If Not rs.NoMatch Then
.Bookmark = rs.Bookmark
End If
Set rs = Nothing
End With
With Forms![frmProjekteErfassen]!unterfrmProjekte.Form
' UFO unterfrmProjekte befindet sich auf Register 1 "Projekte"
Set rs = .RecordsetClone
rs.FindFirst "AuftragsNr = " & strIDProjekt
If Not rs.NoMatch Then
.Bookmark = rs.Bookmark
End If
Set rs = Nothing
DoCmd.GoToControl "unterfrmProjekte"
.AuftragsNr.SetFocus
Debug.Print .ActiveControl.Name
DoCmd.GoToControl "AuftragsNr"
Debug.Print .ActiveControl.Name
End With
///
Der Code wird zwar einwandfrei ausgeführt, doch der Courser steht nicht
im Feld AuftragsNr.
\\\
Debug.Print .ActiveControl.Name
///
ergibt jedes mal "AuftragsNr"
Welche Dummheiten habe ich denn übersehen?
--
MfG - Lupus Goebel
Der Sumpf- Morasthobbybastler und Anfaenger mit
Wissensdurst (
http://www.lupusdw.de http://foto.lupusdw.de)
Urlaub macht man in Irland:
http://www.eaglesnest-bb.com/