M
Melissa
Hey all!
I wish to open a form from a form where two fields are
the same, e.g. invoice number, work category.
Linking by one field I know how to do. But I need more
selection. How do I adjust the following code to test for
two fields? (inum and wcat) ?
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmWrkSum"
stLinkCriteria = "[inum]=" & Me![inum]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Thanking you in advance...
Melissa
I wish to open a form from a form where two fields are
the same, e.g. invoice number, work category.
Linking by one field I know how to do. But I need more
selection. How do I adjust the following code to test for
two fields? (inum and wcat) ?
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmWrkSum"
stLinkCriteria = "[inum]=" & Me![inum]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Thanking you in advance...
Melissa