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 / Create button to navig...
Power Apps
Answered

Create button to navigate to screen and display record from tabel

(0) ShareShare
ReportReport
Posted on by 11

I want to put a button within a form that navigates to a new screen and shows a specific row of data from another table. I have the button and another screen with a display from but with my limited knowledge I can't figure out how to make the button tell the form what row of data to display.  I have been trying to use OnSelect, Set( vRecord, LookUp(Table2, ID = ); Navigate(Screen4); but I don't know how to describe the row of data for the ID or if that would even work. 

Categories:
  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    HI @MaxEAI , Pleases correct me if I am wrong. You are trying to selecta record from table and that record information you want to show in another screen on specific form, if this is what you are looking for then please below code on button OnSelect property:

     

    Set(vRecord, LookUp(Table2, ID = 1));Navigate(Screen4);

     

    Then on form Item property use the variable vRecord and the data source of the form should be same Table2.

     

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

    I hope this helps.

    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.

    Thanks,
    ANB

  • MaxEAI Profile Picture
    11 on at

    I still get an error when trying that formula. I attached a screen grab if that helps.

    button.PNG
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @MaxEAI , Can you send the error message. IN the screenshot I dont see the error message. It only show red cross. Please hover on red cross, which will give you the error message. Please capture that and send me.

     

    Thanks,

    ANB

  • MaxEAI Profile Picture
    11 on at

    Incompatible types for comparison. These types can't be compared: error, Number

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @MaxEAI , What is the datatype of your ID column? If it is text, then use 

     

    Set(vRecord, LookUp(Table2, ID = "1"));Navigate(Screen4);

     

     

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

    I hope this helps.

    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.

    Thanks,
    ANB

  • MaxEAI Profile Picture
    11 on at

    I went back and checked the excel and my ID column was IDd on accident once I fixed the header now it works! Thanks for the help. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard