Why can't I assign a value to a textbox on a report?

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

When I try to do this in the report open event....

Dim iContent As Integer
iContent = Forms!RF_Research!optContent
MsgBox iContent
txtContent.Value = iContent

.....the message box displays the proper value but I get this error when the
last line executes....

Err.Number: 2448
Err.Description: You can't assign a value to this object.

The text box "txtContent.Value" exists in the header section of the report.

Why can't I assign a value to it?
 
Is the field txtContent bounded, if yes then you can't assign value to a
bounded field.
 
Back
Top