B
bgreenspan
I need some help, please...
I have constructed a series of dynamic queries (query by form) to
identify specific records in my one-to-many-to-many database. The
sequential queries successfully eliminate duplicates and I can display
the uniques results on a form. What I want to do is extract
identifiers for a record and use them to open the record in my original
data input form.
Some pertinent naming:
Tables:
tblDockets > tblFamilyMembers > tblActions
1:Many 1:Many
Keys:
docketRecID FamilyRecID ActionRecID
My query construction was solved with the help of several of you kind
experts and I have displayed the results on a form that looks like my
input form but because it is linked to the successive queries, it fails
to update the data tables when changed.
I have a an EDIT button that loads the input for the resulting
DocketRecID into my input form
myrec = "[DocketRecID]= " & DocketRecID
DoCmd.OpenForm "frmMainInput", acNormal, , myrec
and it works fine, displaying the Docket selected in the query.
On the input form, FamilyMember information is handled with a subform
(which functions very well during input). It is Named
subfrmFamilyMembers and its Source is frmFamilyMembers
As it stands now, I must scroll thru the records in the subform to find
the one I want despite knowing the value of the unique FamilyRecID
What I would like is for the subform to go to the specific Family
record identified in my qurey according to FamilyRecID
How can I do this? THANK YOU VERY MUCH in advance.
- Bernie
(extra note: The subform frmFamilyMembers contains a subform within it
to display the related entries in tblActions. This is why the
subfrmFamilyMembers is named annd sourced as described above)
I have constructed a series of dynamic queries (query by form) to
identify specific records in my one-to-many-to-many database. The
sequential queries successfully eliminate duplicates and I can display
the uniques results on a form. What I want to do is extract
identifiers for a record and use them to open the record in my original
data input form.
Some pertinent naming:
Tables:
tblDockets > tblFamilyMembers > tblActions
1:Many 1:Many
Keys:
docketRecID FamilyRecID ActionRecID
My query construction was solved with the help of several of you kind
experts and I have displayed the results on a form that looks like my
input form but because it is linked to the successive queries, it fails
to update the data tables when changed.
I have a an EDIT button that loads the input for the resulting
DocketRecID into my input form
myrec = "[DocketRecID]= " & DocketRecID
DoCmd.OpenForm "frmMainInput", acNormal, , myrec
and it works fine, displaying the Docket selected in the query.
On the input form, FamilyMember information is handled with a subform
(which functions very well during input). It is Named
subfrmFamilyMembers and its Source is frmFamilyMembers
As it stands now, I must scroll thru the records in the subform to find
the one I want despite knowing the value of the unique FamilyRecID
What I would like is for the subform to go to the specific Family
record identified in my qurey according to FamilyRecID
How can I do this? THANK YOU VERY MUCH in advance.
- Bernie
(extra note: The subform frmFamilyMembers contains a subform within it
to display the related entries in tblActions. This is why the
subfrmFamilyMembers is named annd sourced as described above)