S
Slez via AccessMonster.com
I added a text box, txtRetain, to a report. I also added the following code
to the report's Open event:
Private Sub Report_Open(Cancel As Integer)
If Forms!frmMainScreen!frmProjectSubFormTab!chkRetain = True Then
[txtRetain].Value = "This Proposal is for material only"
Else
[txtRetain].Value = "Nothing"
End If
I'm trying to post the text (Value) when the checkbox, chkRetain, is checked.
I only get the following error when I run the report:
Run-time error '2448';
You can't assign a value to this object.
What can I do to diplay specific text when chkRetain is checked?
Help is appreciated! Thanks!
to the report's Open event:
Private Sub Report_Open(Cancel As Integer)
If Forms!frmMainScreen!frmProjectSubFormTab!chkRetain = True Then
[txtRetain].Value = "This Proposal is for material only"
Else
[txtRetain].Value = "Nothing"
End If
I'm trying to post the text (Value) when the checkbox, chkRetain, is checked.
I only get the following error when I run the report:
Run-time error '2448';
You can't assign a value to this object.
What can I do to diplay specific text when chkRetain is checked?
Help is appreciated! Thanks!