I know that this error has been discussed before, but all the discussions were forms-based discussions. Thus, I am sorry if you found this question repeated.
I have a report that lists the tasks' score by employee. Along with each task's score there is a Grade Report bound control. The default value of this control is set to 0%. In some cases, you find that the task's score is null, which means the employee has not yet worked on this task. However, you still see the value of the Grade Report shown up which is 0% (Deafult value).
Now, I don’t want to this value to show up if the task wasn't started. So, I tried the below code to set the Grade Report control to Null, but I got this error "2448: You Can't Assign a Value to This Object".
Expand|Select|Wrap|Line Numbers
- Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
- If IsNull(ProgressCtrl) = True Then
- [Grade Report] = Null
- End If
- End Sub
Thanks