Error: does not allow new entries. I'm not trying to Add, only Update.

Hello,

I am trying to update a record in a table using a form, but I'm getting the error: does not allow new entries. I have no doubt that the id I'm testing with exists in my database and I've set my table to only allow updates. In addition, the only field I want the user to fill out, "Rating", doesn't show up in the form. I must me making a silly mistake, any help is much appreciated! 

Form:

Rating_Form.JPG

I have set my table to only allow updates. 

PutView_Allow_Updates.JPG

I've created a behavior to pass the id from a different table. 

Add_Rating_Behavior.jpg

Table columns:

PutView_Columns.JPG

Thank you for your time! 

Solved Solved
0 3 1,388
2 ACCEPTED SOLUTIONS

LINKTOFORM is only for adding new entries. You can use LINKTOROW to get to the Form View for a specific record, but you can't pass any values into it as with LINKTOFORM.

View solution in original post

Here's how I fixed my behavior for anyone looking. 

LINKTOROW(ANY(SELECT(dbo.InspexPutView[id],[Id]=[_THISROW].[Id])),"Rating")

 

View solution in original post

3 REPLIES 3

LINKTOFORM is only for adding new entries. You can use LINKTOROW to get to the Form View for a specific record, but you can't pass any values into it as with LINKTOFORM.

Ha! The hours I've spent on such an avoidable error, now I know. Thank you for the quick response 😊

Here's how I fixed my behavior for anyone looking. 

LINKTOROW(ANY(SELECT(dbo.InspexPutView[id],[Id]=[_THISROW].[Id])),"Rating")

 

Top Labels in this Space