Skip to main content

Notifications

Community site session details

Community site session details

Session Id : uDdMz217cfSCBSAjLsLX95
Power Apps - Building Power Apps
Suggested answer

Table Control error When Trying to get Selected Record in PowerApps Table Control

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2025 05:25:29 by 8
Hi Builders
 
I'm working with a PowerApps Table Control (tblWSH_RA), and I’m facing an issue 
 
Item Property :
 
Filter(
Forms1,
User().Email in 'Created By'.Email ||
User().Email in Appr.Email ||
!IsBlank(LookUp(Vet, Email = User().Email)) ||
!IsBlank(LookUp('Con', Email = User().Email))
)
 
 
OnSelect Property:

Set(varSelecteID, tblWSH_RA.Selected.ID);

Issue:
varSelecteID is not getting any ID at all and also no value  and error in tblWSH_RA.Selected
 
 
Does anyone have suggestions on how to make tblWSH_RA.Selected work properly in a Table Control, or is there a different way to capture the selected record?
 
Any help or guidance would be appreciated!
Thanks!

 

Categories:
  • Suggested answer
    Michael E. Gernaey Profile Picture
    35,902 Super User 2025 Season 1 on 14 Mar 2025 at 06:25:04
    Table Control error When Trying to get Selected Record in PowerApps Table Control
     
    Sorry for your troubles
     
    Can you please clarify(with pictures preferrably) what you mean by "error with .Selected". Are you saying just trying to use the Property .Selected doesn't work?
    So you type name.Selected and you get a red squizzle as an error/
     
    Also what OnSelect are you using?
     
    If you are trying to set it whenever someone selects a row then you should put
     
    ThisItem.ID
     
    Assuming ID is a real property, instead of putting the Table name like that.
     
    If its in a button, then the only way I know it would fail is
    1) its not the right name
    2) no rows are selected
    3) you didn't add the ID column to the table, so it won't find it
     
     
     

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,382 Most Valuable Professional

Leaderboard