D
DubboPete
Hi all,
On a continuous form, I have a command button that opens up a new form
with the linked data from the previous form. So it appears next to
every record, with the purpose of filtering that record and displaying
it on the subsequent form in muchh greater detail. Except it's only
ever opening up the first record in the table, not the one that's
linked...
Any clues anyone?
Here's the code:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmCallContacts2"
stLinkCriteria = "[CallID]=" & Me![CallID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
thanks in anticipation everyone!
Pete
On a continuous form, I have a command button that opens up a new form
with the linked data from the previous form. So it appears next to
every record, with the purpose of filtering that record and displaying
it on the subsequent form in muchh greater detail. Except it's only
ever opening up the first record in the table, not the one that's
linked...
Any clues anyone?
Here's the code:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmCallContacts2"
stLinkCriteria = "[CallID]=" & Me![CallID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
thanks in anticipation everyone!
Pete