Advertisement
Advertisement
| 06.04.2008 at 10:10AM PDT, ID: 23457502 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: |
Private Sub Command101_Click()
If Me.MRB >= 0 Then
Dim stDocName2 As String
Dim stLinkCriteria2 As String
stDocName2 = "F824005 - MRB Inspection"
DoCmd.OpenForm stDocName2, , , stLinkCriteria2
Else
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "F824005 - MRB Inspection"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
End Sub
|