cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Submitform/patch SQL fail

Hi,

I'm having problems changing or deleting a record from SQL using patch/submitform/remove. I have a feeling it might be related to me having non-english characters in my primary key column-name.. It might also be that I'm using an email as PK? See attached screenshots for error codes.

 

Just to try it, I'm using the auto-generated "start from data"-app. When I try another table with PK being just INT and column name "ID", there is no problem. I tried to change the column name in my table, but powerapps doesn't seem to want to update the table indexing. This gives me an error where powerapps is looking for the old column name. I'm guessing I have to remove data source for it to update?

 

Before I start the long journey to fix this, does anyone have an idea that will ease my pain?

 

Best regards,

Daniel

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Submitform/patch SQL fail

It was as I expected, the "ä" in my PK f*d it all up. In other columns it's alright though. Thanks for the tip @AndySid, I must have tried everything except that:)

View solution in original post

2 REPLIES 2
Highlighted
Resolver II
Resolver II

Re: Submitform/patch SQL fail

I often have to refresh the data source when making tables changes, in view - data soruces, select and refresh

Highlighted
Frequent Visitor

Re: Submitform/patch SQL fail

It was as I expected, the "ä" in my PK f*d it all up. In other columns it's alright though. Thanks for the tip @AndySid, I must have tried everything except that:)

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,915)