G
Guest
Access 2003
I would like to use the recordset of a subform from a different form.
Both forms will be loaded.
I will be using the recordset as Read Only (no changes to the records of the
first form)
This is what I'd like to do
Dim rstDA As DAO.Recordset
If CurrentProject.AllForms.Item("D A").IsLoaded Then
Set rstDA = Forms![D A]![DA Subform].Recordset
End If
However the subform doesn't have a Recordset property
I'm looking at one of the fields in the DA form to filter the second form.
Thanks for any help,
James Deckert
I would like to use the recordset of a subform from a different form.
Both forms will be loaded.
I will be using the recordset as Read Only (no changes to the records of the
first form)
This is what I'd like to do
Dim rstDA As DAO.Recordset
If CurrentProject.AllForms.Item("D A").IsLoaded Then
Set rstDA = Forms![D A]![DA Subform].Recordset
End If
However the subform doesn't have a Recordset property
I'm looking at one of the fields in the DA form to filter the second form.
Thanks for any help,
James Deckert