Now without the quotes:
Private Sub Form_BeforeUpdate(Cancel As Integer)
const string vbNullString
Me.chkIndomethacin.Value = False
Me.chkNifedipine.Value = False
Me.chkNitroglycerin.Value = False
If Len(txtOther.Text & vbNullString) = 0 Then
txtOther.Text = vbNullString
me.cmbTocolytic.text= vbNullString
me.cmbMultipleTocolytic = vbNullString
If me.cmbTocolytic.text=Yes Then
me.chkIndomethacin =True
Else
chkNifedipine = True
Else
chkNitroglycerin = True
Else
Len([txtOther])>0),([chkIndomethacin]=False Or [chkNifedipine]=False Or [chkNitroglycerin]=False Or Len([txtOther])=0))
End If
End Sub
Private Sub Form_BeforeUpdate(Cancel As Integer)
const string vbNullString
Me.chkIndomethacin.Value = False
Me.chkNifedipine.Value = False
Me.chkNitroglycerin.Value = False
If Len(txtOther.Text & vbNullString) = 0 Then
txtOther.Text = vbNullString
me.cmbTocolytic.text= vbNullString
me.cmbMultipleTocolytic = vbNullString
If me.cmbTocolytic.text=Yes Then
me.chkIndomethacin =True
Else
chkNifedipine = True
Else
chkNitroglycerin = True
Else
Len([txtOther])>0),([chkIndomethacin]=False Or [chkNifedipine]=False Or [chkNitroglycerin]=False Or Len([txtOther])=0))
End If
End Sub