pattern(): (when Number is either a numberic field or a variable)
?(info("focusobject")="Number",Number,pattern(Number,"#,.##"))
datepattern(): (when Date is a date field)
datepattern(Date,?(info("focusobject")="Date","","Day, Month ddnth, YYYY"))
wrong pattern when the editor is closed
wrong pattern when the editor is opened with a mouse click
correct pattern when the editor is opened with a key
Also, pattern(Number,“”) is equivalent to pattern(Number,“#”) in Pan X. It would be great if it can show numbers without any pattern as in Pan 6.
datepattern(): (when Date is a variable)
datepattern(Date,?(info("focusobject")="Date","","Day, Month ddnth, YYYY"))
correct pattern when the editor is closed
correct pattern when the editor is opened with a key
wrong pattern when the editor is opened with a mouse click
For text field or variable:
?(info("focusobject")="?",Field,"")
displays FieldA whether the editor is open or not
?(info("focusobject")="?",Varialble,"")
displays the correct data most of the time