cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Displaying Data from SQL table

Hi,

 

I'm attempting to use a Display Form to show the data from an SQL table. I need to be able to display only the data with a specific job number and I would like to be able to search this job number in a text input. For example:

 

JOB                   First Name                     Last Name

1                        John                              Smith

2                        Peter                             Smith

 

So in the Item properties of my Display Form I put the formula:

 

LookUp(TableName, JOB=TextInput3)

 

This gives an error, but if I put:

 

LookUp(TableName, JOB="1")

 

I get the proper information. But obviously can't change the job number while using the app.

 

How can I make this work by searching the job number by means of a text input or other input?

1 ACCEPTED SOLUTION

Accepted Solutions
Continued Contributor
Continued Contributor

You want TextInput3.Text

View solution in original post

2 REPLIES 2
Continued Contributor
Continued Contributor

You want TextInput3.Text

View solution in original post

Anonymous
Not applicable

Of course. Thanks! 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,421)