The query below starts to throw exceptions when attempting to type in parent after child.owneridtype = ...
UPDATE child
SET child.ownerid = parent.ownerid,
child.owneridtype = /* typing anything here throws exception */
FROM account AS child
JOIN account AS parent ON child.parentaccountid = parent.accountid
WHERE parent.ownerid <> child.ownerid
Exception details:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MarkMpn.Sql4Cds.XTB.Autocomplete.GetSuggestions(String text, Int32 pos)
at MarkMpn.Sql4Cds.XTB.SqlQueryControl.AutocompleteMenuItems.<GetEnumerator>d__2.MoveNext()
at AutocompleteMenuNS.AutocompleteMenu.BuildAutocompleteList(Boolean forced)
at AutocompleteMenuNS.AutocompleteMenu.ShowAutocomplete(Boolean forced)
at AutocompleteMenuNS.AutocompleteMenu.timer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The query below starts to throw exceptions when attempting to type in
parent
afterchild.owneridtype = ...
Exception details: