Hi I have a Small Issue.i am taking SSN from a Form,Validating it with the Table and Opening a New Form if the SSN Match using the Code Given Below:
Private Sub Mutual_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Mutual"
stLinkCriteria = "[Social Security Number]=" & Me![Social Security Number]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit Sub
End Sub
Now i want to add another Field to Validate in the "Green" line..how i can do that..plz
Private Sub Mutual_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Mutual"
stLinkCriteria = "[Social Security Number]=" & Me![Social Security Number]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit Sub
End Sub
Now i want to add another Field to Validate in the "Green" line..how i can do that..plz