F
Fred Boer
Hello!
I have a form which shows library patron information, including a continuous
subform which displays the patron's borrowing history. A "Details" button on
the continuous subform opens a related form to display information about the
current book.
As it is, the "related" form's recordsource is filtered to display
information about the current title only. (Code below.). I would like to
experiment with opening the related form *without* the form's recordsource
being filtered, but *with* the form displaying the appropriate book
information. Any suggestions of the best way to go about this?
Thanks!
Fred Boer
Private Sub cmdOpenTitleInformationForm_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Frm_BookCirculationInformation"
stLinkCriteria = "[Book_ID]=" & Me![txtBookID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
I have a form which shows library patron information, including a continuous
subform which displays the patron's borrowing history. A "Details" button on
the continuous subform opens a related form to display information about the
current book.
As it is, the "related" form's recordsource is filtered to display
information about the current title only. (Code below.). I would like to
experiment with opening the related form *without* the form's recordsource
being filtered, but *with* the form displaying the appropriate book
information. Any suggestions of the best way to go about this?
Thanks!
Fred Boer
Private Sub cmdOpenTitleInformationForm_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Frm_BookCirculationInformation"
stLinkCriteria = "[Book_ID]=" & Me![txtBookID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub