web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch a textinput usin...
Power Apps
Answered

Patch a textinput using an SQL connector

(0) ShareShare
ReportReport
Posted on by 22

Good Morning, 

 

I have created a simple app to update a text field back to a SQL database. 

 

The text field is called OverrideDescription. I created the following formula:

 

Patch('ValidationAudit', ThisItem, {OverrideDescription: TestInput1.Text})

 

I get the following error message: 

Behaviour function is a non-behaviour property. You can't use this property to change values elsewhere in the app

 

I have managed to get the update to work on a toggle using the following formula:

Patch('ValidationAudit', ThisItem, {OverrideFlag: Toggle1.Value})

 

Any assistance would be gratefully received.

Thanks

Categories:
  • eka24 Profile Picture
    20,925 on at

    Are you using a Gallery or is the Code Patch('ValidationAudit', ThisItem, {OverrideDescription: TestInput1.Text}) inside a Gallery?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • steveajones45 Profile Picture
    22 on at

    Apologies I should have said, yes it is within a gallery

     

  • eka24 Profile Picture
    20,925 on at

    Can you add a Screen shot because you code seems fine.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • steveajones45 Profile Picture
    22 on at

    steveajones45_0-1631789671861.png

     

  • Verified answer
    steveajones45 Profile Picture
    22 on at

    I resolved the issue, the code was OK, however, I needed to add the code to the OnSelect NOT the default!. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard