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 / Help with forms and du...
Power Apps
Unanswered

Help with forms and duplicate records

(0) ShareShare
ReportReport
Posted on by

Hi All, I am trying to build an app that updates my sharepoint list. I want the app to have 5 columns to be filled out but the first column will be a text box and i have dropdowns for the other columns. Can i have set up that when someone enters text in the first box and it matches an existing record.. data in the other fields is automatically pulled but allow the user to update them. Or else, if its a new record in the first column, then the user is allowed to just add details of other columns.. i am trying ro avoid duplicate entries in the datasource. Your advice on how i can go about this will be highly appreciated. CHEERS.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,675 Most Valuable Professional on at

    Hi @Ronnie256 ,

    Yes, you would do a Lookup to the list on the OnChange of the Text box

    UpdateContext(
     {
     varRecord:
     LookUp(
     SPListName,
     YourTextFieldName = Self.Text
     )
     }
    )

    Then the Default of the other controls would be based on whether varRecord contains information

    Coalesce(varRecord.YourFieldName,Parent.Default)
    

    Note this is structure guidance only - in particular the code above will depend on the control and data type.

     

    Please click Accept as solution 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.

    Visit my blog Practical Power Apps

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard