Skip to main content
Answer

Update or insert of view or function 'vw_item_container' failed because it contains a derived or constant field.

  • June 20, 2023
  • 2 replies
  • 1168 views

Forum|alt.badge.img+4

Hey all,

 

I am getting this error when i am trying to add a record in a view
 

any idea what this means?

Best answer by Renée Evertzen

Hey Timothy,

Views compile their data with potentially more than one table as their source of information. That means that when you're trying to add a record to a view, the application does not know where to leave this information exactly.

If you want to insert data into a view or update the data in a view, you will have to add an instead of trigger to this view that contains the specified insert statements. More information on instead of triggers can be found here:

Hope this helps!

This topic has been closed for replies.

2 replies

Renée Evertzen
Moderator
Forum|alt.badge.img+4

Hey Timothy,

Views compile their data with potentially more than one table as their source of information. That means that when you're trying to add a record to a view, the application does not know where to leave this information exactly.

If you want to insert data into a view or update the data in a view, you will have to add an instead of trigger to this view that contains the specified insert statements. More information on instead of triggers can be found here:

Hope this helps!


Forum|alt.badge.img+4

Yes i fixed the problem yesterday but forgot to update the question. Thanks anyways!