S
S Jackson
Hopefully this is an easy one:
I have a popup form for users to search the db. They select criteria, click
Search and a popup box displays the number of records found and then the
main form displays the search results in a subform. Within the subform, the
user can select individual records to view - when the click the button to
view the record, another form opens with the record selected.
What I want to do is put a button on the main form so the user can browse
all of the search results at once in the other form. Here is what I have so
far:
stLinkCriteria = "[CaseId]=" & Me![fsubResult]![CaseId]
stDocName = "frmMaster"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Unfortunately, the form opens up and displays only the current record
selected within the subform, not all of the records. Do I have to use the
strSQL=String solution and write an entire select query for the form to open
up? I hesitate to do this because of the length of the string - ugh.
TIA
S. Jackson
I have a popup form for users to search the db. They select criteria, click
Search and a popup box displays the number of records found and then the
main form displays the search results in a subform. Within the subform, the
user can select individual records to view - when the click the button to
view the record, another form opens with the record selected.
What I want to do is put a button on the main form so the user can browse
all of the search results at once in the other form. Here is what I have so
far:
stLinkCriteria = "[CaseId]=" & Me![fsubResult]![CaseId]
stDocName = "frmMaster"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Unfortunately, the form opens up and displays only the current record
selected within the subform, not all of the records. Do I have to use the
strSQL=String solution and write an entire select query for the form to open
up? I hesitate to do this because of the length of the string - ugh.
TIA
S. Jackson