J
Jeff Harbin
I've got a report generated from a specific table. The report has a lot
of fields that are calculated from basic data that is stored in the
tables. I do not want to store the results of these calculations in a
table and thought I could generate them at run time.
When I open the report that has a subroutine in the Detail_OnFormat
event that is very basic (I'll make it more advanced once I prove out
the concept..) that assigns a value to three of the named calculated fields.
Me.Field1 = 2
Me.Field2 = 13
Me.Field3 = 7
I get an error message...
"You cannot assign a value to this object."
when I debug it brings me to the first line of the simple code.
Help...
of fields that are calculated from basic data that is stored in the
tables. I do not want to store the results of these calculations in a
table and thought I could generate them at run time.
When I open the report that has a subroutine in the Detail_OnFormat
event that is very basic (I'll make it more advanced once I prove out
the concept..) that assigns a value to three of the named calculated fields.
Me.Field1 = 2
Me.Field2 = 13
Me.Field3 = 7
I get an error message...
"You cannot assign a value to this object."
when I debug it brings me to the first line of the simple code.
Help...