web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,223 Super User 2025 Season 2 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.

  • ANB Profile Picture
    7,223 Super User 2025 Season 2 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,223 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard