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 / How do can i improve t...
Power Apps
Unanswered

How do can i improve this code

(0) ShareShare
ReportReport
Posted on by 32

Guts_1-1686517124036.png

i have 3 connectors one imports data , one for inserting and one for modifying data the import works OnVisible the modify and insert ones are both on change the problem is tho i wanted the insert one to only work if the TextInput is empty but apparently my approach was wrong the modify however did work here what i wrote in each OnChange 

Guts_2-1686517293205.png

now since the insert isnt working the import cant load if there is already something written there

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Guts ,

     

    Try using the IsBlank function in the condition of the If function:

     

    If(IsBlank(TextInput7_8.Text), .....
  • Guts Profile Picture
    32 on at

    Didn't work 😕

  • developerAJ Profile Picture
    4,763 on at

    @Guts 

     

    your formula is straight forward not sure exactly whats the issue. I would suggest debugging and checking i guess issue is with Adddetails.details.

     

    Comment the code adddatails.details

    instead Set(varTest,"Testing Blank condition"&varTest)

     

    Test it if you see "Testing Blank condition" in VarTest than some issue with adddetails.details

     

    Please click Accept as solution and Thumbs Up. if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard