Skip to main content
Solved

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


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!

View original
Did this topic help you find an answer to your question?
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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings