Hello all,
I am working on an "Incident" database. For each incident that occurs, the fix-up crew can make multiple actions (reconn, clean-up, etc.) So I have a main form (frmIncidents) linked to a continuous subform (subfrmActions).
On the subform there is an option button that the user clicks to indicate that it's the last action. If clicked, the incident is complete. What I would like to do is display an "Incident Complete" message on the main form when this button value is true.
So, main form: frmIncidents
msg: lblIncidentComplete
subform: subfrmActions
option: optComplete
What I wrote is:
Private Sub Form_Current()
If Me!subfrmActions.Form![optComplete].Value = True Then
Me!lblIncidentComplete.Visible = True
Else
Me!lblIncidentComplete.Visible = False
End If
End Sub
However, the message never displays, even when the option button is toggled. Any ideas?
thanks in advance,
J
I am working on an "Incident" database. For each incident that occurs, the fix-up crew can make multiple actions (reconn, clean-up, etc.) So I have a main form (frmIncidents) linked to a continuous subform (subfrmActions).
On the subform there is an option button that the user clicks to indicate that it's the last action. If clicked, the incident is complete. What I would like to do is display an "Incident Complete" message on the main form when this button value is true.
So, main form: frmIncidents
msg: lblIncidentComplete
subform: subfrmActions
option: optComplete
What I wrote is:
Private Sub Form_Current()
If Me!subfrmActions.Form![optComplete].Value = True Then
Me!lblIncidentComplete.Visible = True
Else
Me!lblIncidentComplete.Visible = False
End If
End Sub
However, the message never displays, even when the option button is toggled. Any ideas?
thanks in advance,
J