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 to update the reco...
Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by 2

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 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    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)
  • MIA27 Profile Picture
    2 on at

    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.

     

     

     

     

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard