Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

How to update the records of Edit Form Based on dropdown Selection

(0) ShareShare
ReportReport
Posted on by

I have made a screen and open directly - Inserted Edit form to it (to view, edit and add records). It is working fine 

till the EditForm datasource = Last(TblInvA)

 

But if Change the record source and try to select the record based on the Item selected in the drop down, it produces error

DataSource               Dlookup(TblInvA, FormNo = FormNoDropDown.Selected.Value)

 

 

Please guide, it the method applied is wrong or code correction is required

 

 

MIA27_0-1683532943596.png

 

My Sharepoint list has that column 

 

 

 

  • MIA27 Profile Picture
    on at
    Re: How to update the records of Edit Form Based on dropdown Selection

    Thank you for your reply.

     

    Actually DLookup is used to fetch data from Table/Domain/List in MS access programming.

    The project I am working on is to move the database from MS-Access to PowerApp.

    Learning new things along with mistakes (got confused as Lookup and Dlookup both exist in MS-Access programming).

     

    I did some minor changes in your advised code and it worked:

    LookUp(TblInvA,ID=FormNoDropDown.Selected.FormNo)

     

    Upon change in the dropdown the edit form records get updated accordingly.

     

     

     

     

     

     

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: How to update the records of Edit Form Based on dropdown Selection

    Hi @MIA27,

    Could you please tell me that what is the Dlookup function?

     

    Power Apps only supports LookUp():

    Filter, Search, and LookUp functions in Power Apps (contains video) - Power Platform | Microsoft Learn

     

    Try:

    LookUp(TblInvA, FormNo = FormNoDropDown.Selected.Value)

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard