Solved

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

  • 20 June 2023
  • 2 replies
  • 578 views

Userlevel 1
Badge +4

Hey all,

 

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

any idea what this means?

icon

Best answer by Renée Evertzen 21 June 2023, 09:53

View original

This topic has been closed for comments

2 replies

Userlevel 4
Badge +3

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!

Userlevel 1
Badge +4

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