R
richard harris
hi all,
i am trying to update a chk box on a form on a close event of a report. the
idea is that the adviser can confrim that he has issued a confimratin letter
to a client, when the report closes, this will then update a hidden chk box,
which will then inturn identify that the letter has been issued.
here is the code
Private Sub Report_Close()
If vbYes = MsgBox("Have you issued the roS to your client?", _
vbQuestion + vbYesNo + vbDefaultButton1, "RoS Issued?") Then
Me([Forms]![frmfinancialreview]![rosIssued]) = True
Me([Forms]![frmfinancialreview]![rosIssuedDate]) = Date
Else
Me([Forms]![frmfinancialreview]![rosIssued]) = False
Me([Forms]![frmfinancialreview]![rosIssuedDate]) = ""
MsgBox "you must issue the Ros before you can submit this case", vbOKOnly +
vbwarning, _
"RoS not issued!"
End If
End Sub
can you please help!!!! thanks richard
i am trying to update a chk box on a form on a close event of a report. the
idea is that the adviser can confrim that he has issued a confimratin letter
to a client, when the report closes, this will then update a hidden chk box,
which will then inturn identify that the letter has been issued.
here is the code
Private Sub Report_Close()
If vbYes = MsgBox("Have you issued the roS to your client?", _
vbQuestion + vbYesNo + vbDefaultButton1, "RoS Issued?") Then
Me([Forms]![frmfinancialreview]![rosIssued]) = True
Me([Forms]![frmfinancialreview]![rosIssuedDate]) = Date
Else
Me([Forms]![frmfinancialreview]![rosIssued]) = False
Me([Forms]![frmfinancialreview]![rosIssuedDate]) = ""
MsgBox "you must issue the Ros before you can submit this case", vbOKOnly +
vbwarning, _
"RoS not issued!"
End If
End Sub
can you please help!!!! thanks richard