i have a form with a sub form that calls another form I want to print.
the call requires matching on 2 keys instead of the one key done by the wizard. here is the created code
stDocName = "CHGTICKET"
stLinkCriteria = "[jid]=" & "'" & Me![jid] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
how do i add a test fro a second set of keys. i created a button on 1st form to call second with an exact record match but I have 2 keys in record that need to match
thanks
the call requires matching on 2 keys instead of the one key done by the wizard. here is the created code
stDocName = "CHGTICKET"
stLinkCriteria = "[jid]=" & "'" & Me![jid] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
how do i add a test fro a second set of keys. i created a button on 1st form to call second with an exact record match but I have 2 keys in record that need to match
thanks