>Do you have code in any of your refresh events?
yes, This lines codes :
IF EMPTY(FILTER())
THISFORM.ATIVA.CAPTION = "INATIVA"
ELSE
THISFORM.ATIVA.CAPTION = "ATIVA"
ENDIF
Do you get the error when updating a record outside of the form (from the command line)?
No, only forms execution
What line of code does the error occur on?
In pageframe1.page1.activate.event in line :
THISFORM.REFRESH()
Otaviano Silverio de Sousa