G
Guest
The user types in the destination ID in a prompt box. A form is returned
listing many POs associated with that destination. The user then clicks a
checkbox besides each PO that he wants to see details on. He then clicks on
a command button that opens each of the details he selected. The code below
is displaying one detail record at a time. What do I need to add to the
code so that all the detail records selected with the checkbox will display
in the "frmDisplayDetails".
If Me.SelectRecord = True Then
stDocName = "frmDisplayDetails"
stLinkCriteria = "[IO_PrimaryKey]=" & Me![IO_PrimaryKey]
DoCmd.OpenForm stDocName, , , stLinkCriteria
listing many POs associated with that destination. The user then clicks a
checkbox besides each PO that he wants to see details on. He then clicks on
a command button that opens each of the details he selected. The code below
is displaying one detail record at a time. What do I need to add to the
code so that all the detail records selected with the checkbox will display
in the "frmDisplayDetails".
If Me.SelectRecord = True Then
stDocName = "frmDisplayDetails"
stLinkCriteria = "[IO_PrimaryKey]=" & Me![IO_PrimaryKey]
DoCmd.OpenForm stDocName, , , stLinkCriteria