Set(
varActSubSel,
txtActSubSel.Text
);
ClearCollect(
colSelVios,
(SortByColumns(
Filter(
SubViolations,
ViolationDate = varSelDate And Title = varProjectTitle And ActSubName = varActSubSel //("Big D Roofing")
),
"ActSubName",
SortOrder.Descending
))
)
txt.ActSubSel.Text = "Big D Roofing", but varActSubSel will not set
Thus the ClearCollect won't work.
Directly typing "Big D Roofing" in place of varActSubSel will load the Filter, SortByColumns but the variable colSelVios will not load.
I'm lost. I created a new project and made certain that all the setting are identical. The same code within a button on a screen works.
I can also create a new screen in my app, and the same. It works.
I stripped all the code from my pre-existing screen and replicated the working environment. It will not load.
I have collections in many of my screens and they are all affected.
I have disconnected and reconnected the SP list. Started and stopped the app leaving the environment. Changed Powerapp versions forward to .16 and back two weeks when it was certainly working. Also restored from several older version of my app. Nothing.
Has anyone had to start from scratch and completely rebuild because of this?
I have sh%&ton of code that will have to be re-written.
JP