Strange situation with global variable with one record.
I initialize the variable in Gallery:
Set(g_01_Quotations, LookUp(Quotations_01, BasicSegmentID_01Q = ThisItem.ID)),
On other screen app has two control, one radio button and one text input control. For both I need to update variable when OnChange happend:
UpdateContext({l_Is01_Quotions_Change: true});
Set(g_01_Quotations, Patch(g_01_Quotations, {
an01Q_1_1: rdb11_Answers_scrQuestions.Selected.Result,
no01Q_1_1: txt11_Notes_scrQuestions.Text
})
)
everything works normal except one strange situation.... I use more than 7 this combination of Radio button and text input control for different column (an01Q_1_1 til an01Q_1_7), and when I add one more group of same control and change name ov column, app find milion errors (on all place when I use this global var). After save and open everything is ok, NO ERRORS!!!
Could, enyone explain what hepend and how to avoid save, close and open app every time when I change global var?
p.s. Errors what app checker find are complete different for all control, but always include: "Incompatible type....". When save, close and open app to edit, errors gone!!!
Thank you.