Hi Champions
Need your help!
I have a column 'JobIdInt' which is integer type coming to PowerApps UI from SQL Views.
I have one more column 'JobId' which we converted to varchar in views in SQL,
I have Search and sorting controls/Icons are there in UI. currently I am using JobId column for searching and JobIdInt for sorting. due to this I need to maintain 2 fields which is not correct.
So, from UI, for searching I want to use the JobIdInt column to sort and search. I tried multiple ways to converting this field to Text format, but it is failing.
attempts I tried
1. Using the Text function directly within the Search function:
Search(Gallery_JS.AllItems,SearchJobStatus_1.Text,"TriggredBy", "Source", "Status", Text(JobIdInt))
2. Adding a new column with the name "JobIdIntText" and converting JobIdInt to text:
AddColumns(Gallery_JS.AllItems,"JobIdIntText", Text(JobIdInt))
3. Trying to directly use "JobIdIntText" within the Search function:
Search(Gallery_JS.AllItems,SearchJobStatus_1.Text,"TriggredBy", "Source", "Status", "JobIdIntText")
4. Adding a new column inline within the Search function:
Search(AddColumns(Gallery_JS.AllItems,"JobIdIntText", Text(JobIdInt)),SearchJobStatus_1.Text,"TriggredBy", "Source", "Status", Text(JobIdInt))
5. Attempting to use Value function to get the column name:
Search(Gallery_JS.AllItems,SearchJobStatus_1.Text,"TriggredBy", "Source", "Status", Value("JobIdInt"))
etc........
Can you please help me to how to convert this into Text for searching.