cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aeng30
Level: Powered On

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
jhall
Level 8

Re: Displaying Data from SQL table

You want TextInput3.Text

View solution in original post

2 REPLIES 2
jhall
Level 8

Re: Displaying Data from SQL table

You want TextInput3.Text

View solution in original post

Highlighted
aeng30
Level: Powered On

Re: Displaying Data from SQL table

Of course. Thanks! 

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,574)