Hey @WiAmb
The retrieval can be done directly in the powerapps. For this, you need to connect the SQL table as a valid datasource and then you can use Filter() query to get the required records.
Expression that can be used:
If TrackId is string:
Filter(TableName, TrackID = TextInput1.Text)
If TrackId is integer:
Filter(TableName, TrackID = Value(TextInput1.Text))
Here, the TrackID is the column name in the SQL Table and TextInput1 is the name of control to get the userinput for tracking id.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!