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 / Using a text box to se...
Power Apps
Answered

Using a text box to search and display a dataverse record

(0) ShareShare
ReportReport
Posted on by 45

Hello all,

 

I am trying to come up with a way to use a text box to search either a string or number field in a Dataverse table and then display the corresponding record in a form on the same page.

 

The goal of the app is to create a Time Clock whereby the user, regardless of who is logged in, would come in and type their employee id in the search box, view their record and then tap a button to log their time in/out.

 

Right now, when I try to use the following, the resulting table will show "No Item to Display" regardless of the text box control.

 

Filter(Workers,'Employee ID',empid)

 

 I've also tried searching, i.e.

 

Search(Workers,TextInput2.Text,"cr59f_employeeid")

 

 but it too, results in the form being blank.

The form is set to "view" and not "edit" or "new".

 

I've also tried to set the data source to a selected gallery item from the same data source, but I cannot, for the life of me, get the record to show.

 

Ultimately, I'd like to be able to have the app patch the user, date and time, and some other information to an excel file in OneDrive that can be sent to Payroll.

 

Any help or pointers would be greatly appreciated.

Categories:
  • Verified answer
    RyanGilreath Profile Picture
    45 on at

    Ignore me...It's been a long week evidently and 30 seconds after posting this I solved my own problem.

    I was placing the code in "data source" and not "item".... like a fool!

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @rgilreath :

    Glad to learn that you have solved this problem yourself.Thanks for your feedback.

    Best Regards,

    Bof

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard