$valuepart($labelproperties(fieldname)) sometimes returns 0
Author: jbrown@canberra.com (jbrown)
In Uniface 9.4, I would like to display the label of a field in a grid widget in an error message. I am using the following code: $$gbr_msg1 = "%%$valuepart($labelproperties(building_id.gbl_buildings))%%% cannot be blank". Sometimes errormsg contains the actual label text, but sometimes in place of the label text there is a 0 (0 cannot be blank). I haven't been able to figure out why the label value changes. By the time this code is reached, the execute trigger has completed (e.g. the Presentation layer is available).