>Hi Don,
>
>the ObjProperties parameter is coming from the Reporting engine core. So you won't find where the .Text property is being populated. If it is a numeric value you can use the .Value property and covert it to text and assign it to the .Text property yourself, to override the "****" value. Remeber to set the .Reload property to .T. so the Reporting engine will use your updated value.
>
>FYI, this usually happens to numeric values if the picture/format expression is larger than the field box width and has nothing to do with the width of the actually value being displayed.
>
>HTH,
Hi Bo -
I decided to do it with a second parameter as in
if alen(this.aParameters) > 1
if upper(this.aParameters[2]) = "NUMBER"
toObjProperties.text = transform(toObjProperties.value)
toObjProperties.Reload = .t.
endif
endif
This works fine if the number is an integer. However if its a decimal I get a string of unwanted zeros on the end. I'm not sure why, but I am trying to limit the decimals to only those that are supposed to be there. Any thoughts?