I am trying to color the objects inside a model through report code. It works when the model is not open, but it showes error when the models is open in Designer.

code i used:

ObjOcc.setFillColor()

Tags: Report