I'm trying to open a popup form (frmForRemarksPopup) based on the selection in a combo box on a form named qryAssessmentDetailforSubform in order to add remarks.
I want the frmForRemarksPopup to appear in order to better bring attention to the user that they must make a remark as to why they selected "Below Expectations" in the combo box.
Remarks is one of the fields in the "qryAssessmentDetailforSubform" form but is not visible although I would like it to be visible once the user has returned to "qryAssessmentDetailforSubform" after inseting remarks into the popup.
So...The popup form is for remarks and only appears if "Below Expectations" is selected in the combo box. I think this is a start on how the vba needs to be structured but have not been successful in creating the VBA syntax.
Private Sub cboRanking_AfterUpdate()
If cboRanking = "Below Expectations" Then
DoCmd.OpenForm frmForRemarksPopup
End If
frmForRemarksPopup has two fields. AssessmentSessionID and Remarks - memo field.
The source form (qryAssessmentDetailforSubForm) has cboRanking field that displays four options.
The common fields are AssessmentSessionID.
I need some help with the VBA code.
Thanks
Rob