T
Tara
I have a form with an option group. If the option group value = 2, then I
want another form to open up so that the user can leave notes. I want the
forms to be related via a common ScreenID number. At this point, the form
opens, but the ScreenID number isn't being passed from the first screen.
Obviously I'm doing something wrong. Here's the code I have currently:
Private Sub frameAccept_AfterUpdate()
Dim strWhere As String
If frameAccept.Value = 2 Then
If Not IsNull(Me.ScreenID) Then
strWhere = "[ScreenID] = " & Me.ScreenID
DoCmd.OpenForm "frmRequestNotes", , , strWhere, acFormEdit
End If
End If
End Sub
want another form to open up so that the user can leave notes. I want the
forms to be related via a common ScreenID number. At this point, the form
opens, but the ScreenID number isn't being passed from the first screen.
Obviously I'm doing something wrong. Here's the code I have currently:
Private Sub frameAccept_AfterUpdate()
Dim strWhere As String
If frameAccept.Value = 2 Then
If Not IsNull(Me.ScreenID) Then
strWhere = "[ScreenID] = " & Me.ScreenID
DoCmd.OpenForm "frmRequestNotes", , , strWhere, acFormEdit
End If
End If
End Sub