# CRUD issues

**URL:** <https://forum.radzen.com/t/crud-issues/963>\
**Category:** Angular\
**Created:** [March 6, 2019, 4:20pm UTC](https://forum.radzen.com/t/crud-issues/963 "2019-03-06T16:20:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markl](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@markl](https://forum.radzen.com/u/markl)\
**Post date:** [March 6, 2019, 4:20pm UTC](https://forum.radzen.com/t/crud-issues/963/1 "2019-03-06T16:20:56Z")

</div>

Hello,  
I am having a problem creating CRUD pages - they do not save. Also, it seems that if I try to create CRUD pages for a view, it doesn't create the add and delete functionality. If I create it myself, I still cannot get things to save data into the database.  
What things can I look for to diagnose this?  
Is there a reason that views do not get properly created CRUD pages?  
How can I get the save button to do something useful?

Thanks

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [March 6, 2019, 4:25pm UTC](https://forum.radzen.com/t/crud-issues/963/2 "2019-03-06T16:25:17Z")

</div>

Hi @markl,

Radzen will create read-only pages for SQL views since there are no primary keys and CRUD cannot be supported.

Best Regards,  
Vladimir

---

<div class="post-metadata">

**Author:** ![markl](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@markl](https://forum.radzen.com/u/markl)\
**Post date:** [March 6, 2019, 4:34pm UTC](https://forum.radzen.com/t/crud-issues/963/3 "2019-03-06T16:34:08Z")

</div>

Ok, so to use CRUD, the page must have a primary key.  
If you have a view with three tables and they all have primary keys would it work in that condition?  
Why wouldn't the save button work on created CRUD pages for tables with keys?  
How would I build a CRUD page that will save for a view?  
Thanks

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [March 6, 2019, 4:47pm UTC](https://forum.radzen.com/t/crud-issues/963/4 "2019-03-06T16:47:20Z")

</div>

Hi @markl,

I’m afraid that you cannot have CRUD for SQL views since they are read-only by definition.

Best Regards,  
Vladimir
