C
Craig Buchanan
I have a parent/child form combination. Both forms have their respective
Recordset properties set to an ADODB Recordset. I have the Link Child
Fields and Link Master Fields set to the appropriate values. When I scroll
the main form, however, the child form doesn't change. If I would have
simply set each form's record source property, this would work.
Obviously, I'm missing something. Can someone clue me in?
Thanks,
Craig Buchanan
<CODE>
Private Sub Form_Open(Cancel As Integer)
Dim RS As New ADODB.Recordset
With RS
.ActiveConnection = Application.CurrentProject.Connection
.Source = "Folder"
.CursorType = adOpenKeyset
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Open
End With
Set Me.Recordset = RS
Set RS = Nothing
End Sub
</CODE>
Recordset properties set to an ADODB Recordset. I have the Link Child
Fields and Link Master Fields set to the appropriate values. When I scroll
the main form, however, the child form doesn't change. If I would have
simply set each form's record source property, this would work.
Obviously, I'm missing something. Can someone clue me in?
Thanks,
Craig Buchanan
<CODE>
Private Sub Form_Open(Cancel As Integer)
Dim RS As New ADODB.Recordset
With RS
.ActiveConnection = Application.CurrentProject.Connection
.Source = "Folder"
.CursorType = adOpenKeyset
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Open
End With
Set Me.Recordset = RS
Set RS = Nothing
End Sub
</CODE>