I just edited the piece you need to change.
Let me know if it works.
it starts at this line:
SELECT ItemConfig
*!* You are updating the table called ItemConfig not the view
*!*try this instead
*!* =TABLEUPDATE(.T.)
=TABLEUPDATE(1, .T., "vItemConfiguracao")
*!* If you want to update the table to then add this.
=TABLEUPDATE(1, .T., "ItemConfig")
=REQUERY("vItemConfiguracao")
THISFORM.REFRESH
>Ronald i thank you nowly
>
>see my code: