I have a global variable that is included for moving form to form or is included in a gallery.
The variable is Set(CurJob,Job_ID where Job_ID is a varchar text field in a AZURE SQL database. Variable works fine throughout the application.
Variable Check shows CurJob(Text,"")
If I change the source of a gallery in Design mode by adding a filter for a column - from Filter(Gallery1,Builder="AB") to Filter(Gallery1,Builder="YZ"), the variable CurJob will cease to function throwing "Incompatible Type" errors.
Under the Variable Check, the it now shows CurJob(Text:Blank).
There seems to be nothing I can do within the Design session to reset the variable, CurJob, to a text type of "" or any other Text, "101".
The only way I can resolve this error is to save/publish/close app and then reload in design. CurJob text variable is again functioning as expected.